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

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -