Primary Key (1 Viewer)

aedislee

New member
Local time
Today, 10:13
Joined
Feb 12, 2015
Messages
4
morning all

Can someone tell me how to a an AutoNumber Primary Key to a create table query please??

Thanks
 

aedislee

New member
Local time
Today, 10:13
Joined
Feb 12, 2015
Messages
4
No I haven't tried anything
 

ButtonMoon

Registered User.
Local time
Today, 10:13
Joined
Jun 4, 2012
Messages
304
Like this:

CREATE TABLE t1 (x AUTOINCREMENT PRIMARY KEY, z String NOT NULL);
 

Users who are viewing this thread

Top Bottom