|
|
Question : Moving Record Between Tables
|
|
Hi,
I have two tables with the same structure and i want to move records between them. I know i can insert records into the new table and delete them from the old table, but i was wondering if there is a way to make this through only one SQL statement. I think it would be faster than inserting/deleting.
|
Answer : Moving Record Between Tables
|
|
no, you've to : insert into newtable select * from oldtable where ...; and then delete from oldtable where ...;
|
|
|
|
|