|
-
Nov 16th, 2009, 05:10 AM
#1
Thread Starter
Addicted Member
SQL Loop procedure
I need help to create a procedure that will allow me to open a table,loop through the table and for each record obtain a value in a certain field and then INSERT it into another table. the second table is empty and i am want to populate it with a value coming from all the records of the first table.
-
Nov 16th, 2009, 05:51 AM
#2
Re: SQL Loop procedure
Why not use INSERT INTO dest_table columns_list SELECT columns_list FROM src_table
-
Nov 16th, 2009, 09:35 AM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|