Click to See Complete Forum and Search --> : Creating DB Tables using SQL
rodders45
Jul 4th, 2000, 02:21 PM
Does anyone know how to create a table in an Access database using SQL, creating a primary key field which increments automatically?
RogerH
Jul 4th, 2000, 02:25 PM
CREATE TABLE Test (ID AutoIncrement Constraint PrimaryKey PRIMARY KEY, OtherField TEXT);
Roger
rodders45
Jul 4th, 2000, 02:36 PM
Thanks a lot
Incidentally... :)
That's called DDL (data manipulation language - a subset of SQL) the other one is DML (data manipulation language - SELECT and all that lark)
Geek signing off! :D
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.