tsql - Comparing a time value with a value in ssis -
i use such expression in dereived column, remains red (it not accepted):
(dt_dbtime) [datum] =="00:00:00" ? 1 : 2
(if time part of variable [datum] = "00:00:00" 1 else 2)
you can't compare dt_dbtime , dt_wstr type. try cast data dt_wstr dt_dbtime type:
(dt_dbtime) [datum] == (dt_dbtime)"00:00:00" ? 1 : 2
Comments
Post a Comment