The "AutoNumber" field in Access can be created using the "Counter" keyword.

http://cfhub.com/SQL/commands/CREATE.cfm


> I'm attempting to add tables to an Access database via CREATE TABLE within
a CFQUERY. I'm using the same syntax suggested for T-SQL by the SQL Server
Books online. I can create text fields, but I generated an error when trying
to create autonumber or date/time. I get error 37000 (syntax error or access
vioation).
>
> Can someone assist me with the syntax for Access?
>
> Thanks,
>
> Marc Garrett
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to