I am trying to sum 2 columns (adjustment due day and expiration day):
DATEADD("dd",(DT_I4)AdjustmentDueDayCode,ExpirationDate)
I keep getting the following error message:
An error occurred while attempting to perform a type cast
SSIS Error Code `DTS_E_INDUCEDTRANSFORMFAILUREONERROR*`
I thought it could be because of nulls so wrote the following:
(DT_I4)AdjustmentDueDayCode > 0 ? (DATEADD("dd",
(DT_I4)AdjustmentDueDayCode,ExpirationDate) : "null"
But still getting the same error, any recommendations?