开发者

How does SSIS convert DT_WSTR to DT_STR?

开发者 https://www.devze.com 2023-03-16 23:33 出处:网络
What is the methodology that the SSIS data conversion transform开发者_Python百科ation uses when converting a DT_WSTR to DT_STR? If a character exists in the DT_WSTR which does not exist in the destina

What is the methodology that the SSIS data conversion transform开发者_Python百科ation uses when converting a DT_WSTR to DT_STR? If a character exists in the DT_WSTR which does not exist in the destination code page of the DT_STR, will the mapping fail, or ignore the character?


I guess it uses WideCharToMultiByte or something similar.

You control what happens by setting truncation options, see http://msdn.microsoft.com/en-us/library/ms141679.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消