dbTalk Databases Forums  

Dts globalvariable data types, which one does unicode (nvarchar)

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


Discuss Dts globalvariable data types, which one does unicode (nvarchar) in the microsoft.public.sqlserver.dts forum.



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

Default Dts globalvariable data types, which one does unicode (nvarchar) - 01-23-2006 , 02:32 PM






I am trying to write the contents of a nvarchar datatype field to a text file.

I have set it up as a dts package where I first populate my global variable
result set and then I access it from the activex script where i perform some
processing and write the results to a text file.

however the when writing the results I am missing all the international
characters. what global variable datatype will retain the unicode. When i try
to use some types other than string I get an error about not being able to
convert from BSTR to type <type selected>

Thanks,


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

Default RE: Dts globalvariable data types, which one does unicode (nvarchar) - 02-14-2006 , 10:26 AM






Anyone have any feedback or ideas on this?
I am thinking now it might not be the global variable but maybe the way that
activex script is pulling the information from the result set. Is there an
certain way to handle unicode characters in the activex scripts?

Thanks,


"kapsolas" wrote:

Quote:
I am trying to write the contents of a nvarchar datatype field to a text file.

I have set it up as a dts package where I first populate my global variable
result set and then I access it from the activex script where i perform some
processing and write the results to a text file.

however the when writing the results I am missing all the international
characters. what global variable datatype will retain the unicode. When i try
to use some types other than string I get an error about not being able to
convert from BSTR to type <type selected

Thanks,


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.