Hello! I am importing a flat file and if the date is null ,needs to be converted to a value 9999-99-99
The raw date is in the format 01-01-2016 and I used the expression
ISNULL([SDATE]) ? (DT_DBTIME)[SDATE] : (DT_DBTIME)(DT_STR,25,1252)"9999-99-99"
Retain null values is checked and in the advanced properties the output date is database timestamp
Appreciate any suggestions.
Thank you
↧