Re: select records to send to another table in another database

2008-04-10 Thread Christoph Boget
I have a slew of records that went to the wrong database. The tables have the same names and now I want to copy those records over to the correct database. Is there such a mechanism using the cli mysql application in Linux? If the tables have the same schema, you should be able to just

Re: select records to send to another table in another database

2008-04-10 Thread Paul DuBois
At 12:21 PM -0400 4/10/08, Larry Brown wrote: I have a slew of records that went to the wrong database. The tables have the same names and now I want to copy those records over to the correct database. Is there such a mechanism using the cli mysql application in Linux? For each corresponding

RE: select records to send to another table in another database

2008-04-10 Thread Jerry Schwartz
I have a slew of records that went to the wrong database. The tables have the same names and now I want to copy those records over to the correct database. Is there such a mechanism using the cli mysql application in Linux? If the tables have the same schema, you should be able to just

Re: select records to send to another table in another database

2008-04-10 Thread Christoph Boget
I have a slew of records that went to the wrong database. The tables have the same names and now I want to copy those records over to the correct database. Is there such a mechanism using the cli mysql application in Linux? For each corresponding table: INSERT INTO db1.mytable SELECT

RE: select records to send to another table in another database

2008-04-10 Thread Jerry Schwartz
Yes Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com -Original Message- From: Christoph Boget [mailto:[EMAIL PROTECTED] Sent:

Re: select records to send to another table in another database

2008-04-10 Thread Paul DuBois
At 1:09 PM -0400 4/10/08, Christoph Boget wrote: I have a slew of records that went to the wrong database. The tables have the same names and now I want to copy those records over to the correct database. Is there such a mechanism using the cli mysql application in Linux? For each

Re: select records to send to another table in another database

2008-04-10 Thread Larry Brown
On Thu, 2008-04-10 at 11:43 -0500, Paul DuBois wrote: For each corresponding table: INSERT INTO db1.mytable SELECT * FROM db2.mytable; -- Paul DuBois, MySQL Documentation Team Madison, Wisconsin, USA MySQL AB, www.mysql.com That is exactly what I was looking for. Thank you all