INSERT INTO new_table (column1, column2, ...)
SELECT column1, column2, ...
FROM original_table
>>I want to duplicate a row (back it up - copy to a table with the same
>>schema) regardless of the table schema.
>>This in MySQL but I need a solution that can be made easily portable to
>>other data
I want to duplicate a row (back it up - copy to a table with the same
schema) regardless of the table schema.
This in MySQL but I need a solution that can be made easily portable to
other databases.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
2 matches
Mail list logo