Insert multiple rows using Cursors.
722332May 3 2010 — edited May 3 2010I am trying to insert rows into a table based on information from another table.
For example:
When Table 1: Num_Rows = 100 my proc will insert 100 rows into Table 2 with relevent data.
Do I need to use a Cursor and iterate through Num_Rows doing an INSERT each time? Is there a better way to do it other than using Cursors?
Rob.