loop in sql script

Hi. How would I go about adding x numero of lines to one table in a database depending on the quantity entered in another table?

I'm using MSSQL server7, and in query analyser I get the keywords FOR and WHILE highlighted, but I can't seem to get the right syntax

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!