Re: duplicating a row
| From: | Daniel Clark | Date: | Mon, 31 May 2004 15:45:59 +0000 |
| Subject: | Re: duplicating a row | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187284@lists.php.net to get a copy of this message | ||
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 databases.