dbTalk Databases Forums  

Characters Transfered incorrectly into text file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Characters Transfered incorrectly into text file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PaulaC
 
Posts: n/a

Default Characters Transfered incorrectly into text file - 06-10-2004 , 04:37 AM






Hi,

I have a DTS Package that executes a simple stored
procedure and exports the results into a text file. The
problem I have is with some of the German databases. When
I execute the procedures manually the data in the table
looks correct, however when this procedure is executed via
the DTS package some of the German characters are
incorrect.

For Example.

Should be - amü-Umzüge;Müller GmbH
Appears as - am-Umzge;Mller GmbH

Does anyone know why this happens and how to fix it.

Thanks for your help.

Reply With Quote
  #2  
Old   
PaulaC
 
Posts: n/a

Default Re: Characters Transfered incorrectly into text file - 06-11-2004 , 05:07 AM






I believe that I have found the solution to this problem.

The databases involved have OEM codepages and I have found
that by declaring the column in the table that is sent to
the text file as a unicode datatype (nchar, nvarchar,
ntext) then the charcters are transfered successfully.

For a database on an ANSI codepage no change was necessary.


Quote:
-----Original Message-----
Hi,

I have a DTS Package that executes a simple stored
procedure and exports the results into a text file. The
problem I have is with some of the German databases.
When
I execute the procedures manually the data in the table
looks correct, however when this procedure is executed
via
the DTS package some of the German characters are
incorrect.

For Example.

Should be - amü-Umzüge;Müller GmbH
Appears as - am-Umzge;Mller GmbH

Does anyone know why this happens and how to fix it.

Thanks for your help.
.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.