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

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 e

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

2008-04-10 Thread Jerry Schwartz
: Thursday, April 10, 2008 1:09 PM To: Paul DuBois Cc: Larry Brown; Mysql Subject: Re: select records to send to another table in another database > > 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

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.mytab

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 jus

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 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 jus