What is Difference Between DT_STR and DT_WSTR in ssis?
Hi All,
What is difference between DT_STR and DT_WSTR in ssis?
Thanks
CMK..
November 17th, 2010 3:17pm
DT_STR is varchar means Non Unicode
and
DT_WST is Nvarchar means UnicodeGaurav Gupta http://sqlservermsbiblog.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2010 3:18pm
DT_STR
A null-terminated ANSI/MBCS character string with a maximum length of 8000 characters. (If a column value contains additional null terminators, the string will be truncated at the occurrence of the first null.)
DT_WSTR
A null-terminated Unicode character string with a maximum length of 4000 characters. (If a column value contains additional null terminators, the string will be truncated at the occurrence of the first null.)
reference:
http://msdn.microsoft.com/en-us/library/ms141036.aspx
http://www.rad.pasfu.com
November 17th, 2010 3:21pm
Hi CMK,
The difference is the same as between varchar and nvarchar: non-UNICODE vs. UNICODE.
SSIS data types:
http://msdn.microsoft.com/en-us/library/ms141036.aspx
SQL Server data types:
http://msdn.microsoft.com/en-us/library/ms187752.aspx
Regards,
Akim
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2010 3:24pm