Hello, how do i efficiently copy a row data from one table to another table, where both of them are the same structure. i could go the much harder way of retrieving initial values from the row in the first table and then inserting to the second table. But i feel there is a more efficient way this can be done. Thank you
views:
47answers:
1hey, thanks, really appreciate it. but sorry, is this correct if i want to copy from a particular row.. insert into table1 select * from table2 where = rowID
Rexx
2010-10-11 14:57:01
yep, WHERE item_id = <value> should work fine.
cement
2010-10-11 15:14:34
oh great! thanks once again.
Rexx
2010-10-11 15:42:20