October 18, 2006 at 10:02 am
Is there a way to insert the contents of a view into another table without having to loop through each record in the view inserting it into the destination table?
Jim
October 18, 2006 at 10:20 am
Do you mean SELECT?
INSERT YourTable
SELECT Col1, Col2, ...
FROM YourView
October 18, 2006 at 11:12 am
and to expand on what Ken said, if the table doesn't exist yet, you can use the INTO command to create it on the fly:
SELECT Col1, Col2, ...
INTO MyNewTable
FROM YourView
Lowell
October 18, 2006 at 11:42 am
Thanks guys
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply