Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL data types in CREATE/ALTER TABLE queries 1

combo

Technical User
Jan 1, 2003
4,189
PL
I found a list a list of Access SQL data types from MS here.
However, this article refers to Access 2013. In the meantime Access introduced large number and extended datetime fields handling. Is it possible to generate new types fields with access query, if so - what type names should be used?
 
Thanks, it seems that there is a total mess here. I tested some types, my observations:
  • Access will not save query with not recognized field type,
  • a direct answer to my post: simple BIGINT and DATETIME2 work!
  • TINYINT is not recognized, BYTE works,
  • TEXT and LONGTEXT create text and long text fields,
  • some types have multiple keywords, as INTEGER and LONG for long.
 

Part and Inventory Search

Sponsor

Back
Top