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

Insert and increment value in column using a loop

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
Insert 10 records and increment the value of Line_ID column into Table1? How can I do this using a loop and how can I write this query?
 
Homework?

To start, try using a sequence number.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top