Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: MSSQL to MySQL via perl

by jfroebe (Vicar)
on May 12, 2009 at 14:02 UTC ( #763486=note: print w/ replies, xml ) Need Help??

in reply to MSSQL to MySQL via perl

Hi there,

Microsoft SQL Server and Sybase ASE/IQ/SQL Anywhere will replace unknown characters with a question mark when the default character set does not match the character set of the data being imported.

Recommendation: extract the data out of you MySQL database in a delimited file (csv) using the utf8 (unicode) character set. Import into SQL Server using bcp specifying utf8 with "-Jutf8" parameter and character mode "-c".

Jason L. Froebe

Blog, Tech Blog

Comment on Re: MSSQL to MySQL via perl
Re^2: MSSQL to MySQL via perl
by Anonymous Monk on May 12, 2009 at 15:03 UTC

    It appears the OP wants to go MSSQL --> MySQL, not the other way round.

      Somehow I missed that :( The same rules apply: extract out and in with the same character set.

      Jason L. Froebe

      Blog, Tech Blog

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763486]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-12-25 19:37 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (162 votes), past polls