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

add column with autonumber type

Status
Not open for further replies.

jmodo

Programmer
Aug 2, 2006
43
US
I'd like to add a column with the autonumber type. I can't figure it out. I have a couple other columns with autonumber already, so I hope this doesn't cause a problem.

thanks!
J
 
Code:
ALTER TABLE myTable ADD COLUMN myAutoNum COUNTER
but a table can't have more than one autonumber column.
 
My version of Access (2000) only allows one autonumber per table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top