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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to