I have an SSIS package which transfers data from SAS to SQL Server. I'm creating a derived column but cannot get the REPLACENULL
feature to work. I am receiving the error
"Invalid character value for cast specification"
which I am sure is because of NULL values in the source. Here is my current derived column expression:
REPLACENULL(DATEADD("d",(DT_I8)AuthEndDate,(DT_DATE)"1960-01-01"),0)
The REPLACENULL
function isn't working here. Any way that this can be done? I am using SSIS 2008. Thanks.