Data Conversion Issue in SSIS package - Text to GUID

旧时模样 提交于 2019-11-28 14:09:21

I used a Derived Column Transformation Editor and to wrap the excel column value in squrly brackets {} in order for the SSIS package to properly convert the Unicode String into a GUID.

I want to mention that this will not work with SSIS 2012 in Visual Studio. If you try to do this you get an error on the derived column transformation task. I've tried both of these:

(DT_GUID)[ColumnName]

(DT_GUID)("{" + [ColumnName] + "}"

Both of these will fail.

However, if you simply set to ignore those errors instead of fail. It will work fine. Really spend way too much time trying to get this to work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!