Re: copy tables between db's

From: Date: Sun, 07 Sep 2003 13:40:23 +0000
Subject: Re: copy tables between db's
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-30400@lists.php.net to get a copy of this message
David Smith wrote:
insert into database1.tablename select * from database2.tablename; database1 and database2 are the names of the two databases. tablename is the name of the table you want to copy from database1 to database2.
Correction: from database2 to database1, not vice versa. --Dave

« previous php.db (#30400) next »