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!

Adding a sequence number adder to an Insert statement 1

Status
Not open for further replies.

diehippy

Technical User
Jul 4, 2007
46
GB
Hi all,

I have currently written an insert statement that brings details from couple of tables into another table, the question if someone could please help me with is that the table that I am inserting the new rows into has a sequence id number that is growing by one each time a new entry is added to the table. What would be the best SQL statement that I need to use to increase the sequence id number when I use my insert statement?

Many Thanks in advance for help

Diehippy
 
Thanks Jimirvine,

that worked really well no gapless values

Cheers

Diehippy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top