RE: Can a table be copied across the DBs?

2006-08-18 Thread ravi.karatagi
18, 2006 1:01 PM To: mysql@lists.mysql.com Subject: Re: Can a table be copied across the DBs? > In the destination database the table doesn't exist. Please let me know, > if there is any way to do it. CREATE TABLE DB2.tblname LIKE DB1.tblname; INSERT INTO DB2.tblname SELECT * FROM

Re: Can a table be copied across the DBs?

2006-08-18 Thread Dilipkumar
- From: <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 9:29 AM Subject: Can a table be copied across the DBs? Hi All, I want to copy a table (along with its contents) from one database to another database. In the destination database the table doesn't exist. Plea

Re: Can a table be copied across the DBs?

2006-08-18 Thread Dilipkumar
ein" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 1:01 PM Subject: Re: Can a table be copied across the DBs? In the destination database the table doesn't exist. Please let me know, if there is any way to do it. CREATE TABLE DB2.tblname LIKE DB1.tblname; INSERT INTO D

Re: Can a table be copied across the DBs?

2006-08-18 Thread Dominik Klein
In the destination database the table doesn't exist. Please let me know, if there is any way to do it. CREATE TABLE DB2.tblname LIKE DB1.tblname; INSERT INTO DB2.tblname SELECT * FROM DB1.tblname; -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:h

Re: Can a table be copied across the DBs?

2006-08-17 Thread Chris
[EMAIL PROTECTED] wrote: Hi All, I want to copy a table (along with its contents) from one database to another database. In the destination database the table doesn't exist. Please let me know, if there is any way to do it. mysqldump -u -p original_databasename | mysql -u -p ne

Can a table be copied across the DBs?

2006-08-17 Thread ravi.karatagi
Hi All, I want to copy a table (along with its contents) from one database to another database. In the destination database the table doesn't exist. Please let me know, if there is any way to do it. Regards, Ravi K The information contained in this electronic message and an