sql - SSIS - Converting 4 digit string to time value -
i'm trying replicate following t-sql statement want expression:
timeval 4 digit int representing hh:mm
dateadd(hour,(timeval/ 100) % 100, dateadd(minute,(timeval/1) % 100, cast('00:00' time(2)))) timeopened any appreciated
derived column code:
(dt_dbtime)(substring((dt_wstr,4)(time),1,2) + ":" + substring((dt_wstr,4)(time),3,4)) example data 1.

2.derived column

3.view

Comments
Post a Comment