Re: moving a selection of records from one table to another (identical in structure) table?
| From: | Evert | Date: | Wed, 27 Sep 2006 12:27:35 +0000 |
| Subject: | Re: moving a selection of records from one table to another (identical in structure) table? | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42415@lists.php.net to get a copy of this message | ||
Would you happen to have a nice little example-script for me/us? :-)
Regards,
Evert
Niel Archer wrote:
> Hi
>
>> Easiest way would be to have MySQL to do it, using an INSERT ... SELECT
>> statement
>
> ... and if you're moving (not just copying) deleting the selected
> records after of course.
>
> Niel
>