[freetds] character set issue between sql server and oracle

Easy Datawarehouse Solutions info at edwhs.nl
Tue Apr 14 01:57:22 EDT 2015


Can't really help you with this gateway problem (need more info on how you 
set this up, but most likely due to characterset conversion problem).
Personally I always use this for running sql server queries from oracle: 


-----Oorspronkelijk bericht----- 
From: Turk, Scott A
Sent: Monday, April 13, 2015 6:39 PM
To: freetds at lists.ibiblio.org
Subject: [freetds] character set issue between sql server and oracle

We've set up freetds as a gateway between Sql server and Oracle.  When 
running a query on Oracle across a link to a Sql Server database, we get 
extra null characters between each real character in the output.  This 
occurs on columns set up as nchar on the Sql Server side.  Can anyone please 
provide assistance?

Here is the output from the dump command on the query (executed on Oracle 
across the link), the real output should be "administrator".

Typ=1 Len=52: 


Scott Turk
Missouri State University
SATurk at missouristate.edu<mailto:SATurk at missouristate.edu>
(417) 836-6195

FreeTDS mailing list
FreeTDS at lists.ibiblio.org

More information about the FreeTDS mailing list