I am wondering if there is a way to copy multiple records from one table to another using a stored procedure. Here's an example of what I'd like to do:
select * from Table1
insert into Table2 (using records retrieved from above select statement)
Table2 has many of the same fields as Table1, but there are a few that I'll need to update once the records from Table1 are inserted into Table2.
I'm no SQL guru so any help would be greatly appreciated.
select * from Table1
insert into Table2 (using records retrieved from above select statement)
Table2 has many of the same fields as Table1, but there are a few that I'll need to update once the records from Table1 are inserted into Table2.
I'm no SQL guru so any help would be greatly appreciated.