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

primary key - auto increment ID starting with specific #

Status
Not open for further replies.

benjatado

Programmer
May 15, 2005
52
US
Here is what I am trying to do -

create a table or view that has an auto incrementing ID column that begins with 1018.
I have tried this - but it does not like (Start WITH ###)

CREATE TABLE MyTable (
IDCode INTEGER IDENTITY (START WITH 1018),
Column2 VARCHAR (255),
PRIMARY KEY (SongCode)
);

Any help would be great!!

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top