Skip to Content.
Sympa Menu

freetds - RE: [freetds] exporting data from ODBC to mysql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] exporting data from ODBC to mysql
  • Date: Tue, 20 May 2003 11:39:27 -0400

> From: Scott Antonivich [mailto:scott AT tpk.net]
> Sent: May 20, 2003 10:32 AM
>
> Please [bear] with me as this is all new territory for me.
...
> My question is how do I modify the above script to get the data from a
> specific table and imput it into a specific myswl database on
> my linux box?

The smart thing is not to try, Scott, if copying a table is what you're
really after. You can use freebcp to extract the contents of a table (or
view) to a file, and a parallel utility on MySQL to load it.

If you need to do this under program control, then, yes, you'll need your
perl script or something like it. The DBD::ODBC and MySQL resources would
be more helpful than this list, though. Broad ODBC questions are a bit off
topic here. :-)

--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page