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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADD COLUMN AUTONUMBER

Status
Not open for further replies.

BNPMike

Technical User
Sep 17, 2001
1,818
0
0
GB

This works:

ALTER TABLE tablename ADD COLUMN columname BYTE

But I can't get this to work:

ALTER TABLE tablename ADD COLUMN columname AUTONUMBER

Does anyone know why?

Put it another way - where do you find the production rules for Jet SQL? mike.stephens@bnpparibas.com
 
I believe you use COUNTER instead of AUTONUMBER as your word, a holdover from Access 2.0.

ALTER TABLE tablename ADD COLUMN columname COUNTER

HTH Joe Miller
joe.miller@flotech.net
 
Joe

You are absolutely right! But it's not in Help anywhere! mike.stephens@bnpparibas.com
 
I think i stumbled across this on the MSDN website....

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top