Reputation: 880
i am using the following command to create a table in an mdb database, it works fine when i remove the autonumber type
"CREATE TABLE pxs(sid Autonumber , Adress Text , Port Text, user Text, pass Text, sreq Integer, freq Integer)"
so how should i define an id column as autonumber?
Upvotes: 1
Views: 1209
Reputation: 91326
You can use:
CREATE TABLE pxs(sid counter primary key, ...
Note that user
is a reserved word, so you might like to use some other name.
Upvotes: 2