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

AutoNumber w/ SQL

Status
Not open for further replies.

asm338s

Programmer
Jul 16, 2001
135
US
Hi Everyone:

Does anyone know how to create an AutoNumber(sequence) field using SQL. I am populating my table from a couple of tables. For the purpose of having a primary key, I need a sequence number that should increment itself everytime a record is added.
Any help appreciated.

Thanks
 

Why not just set the column as an Autonumber and let Access increment it? Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top