Compare 2 Guids in a conditional Split in SSIS

流过昼夜 提交于 2020-01-05 11:16:13

问题


I am building a conditional split in SSIS to figure out if a row is new or updated. One of the columns I want to compare is a guid and it allows null.

I tried to compare the column like COLUMN != Destination_COLUMN. However I am not allowed to compare guids. Thoughts on workarounds as i have a lot of guids in the DB.

Thanks


回答1:


Use the derived column transformation to create string versions of your GUIDs, and compare the string columns instead of the GUID columns.



来源:https://stackoverflow.com/questions/34078225/compare-2-guids-in-a-conditional-split-in-ssis

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