MySQL Forums
Forum List  »  Newbie

Re: Copy Table to a new database
Posted by: Ramalingam Chelliah
Date: September 02, 2004 12:44AM

Hi,
If you don't like mysqldump , mysqlhotcopy ....

Try this select statement... (INSERT ...SELECT ...)

INSERT INTO dbArchive.tblInvoice
SELECT * from dbProduction.tblInvoice where ID > 1600000;


Hope this helps...

Regards,
Ram.

We Learn the Most When we have to Invent

Options: ReplyQuote


Subject
Written By
Posted
August 27, 2004 08:53AM
Re: Copy Table to a new database
September 02, 2004 12:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.