我试图总结 2 列(调整到期日和到期日):
DATEADD("dd",(DT_I4)AdjustmentDueDayCode,ExpirationDate)
我不断收到以下错误消息:
An error occurred while attempting to perform a type cast
SSIS Error Code `DTS_E_INDUCEDTRANSFORMFAILUREONERROR*`
我认为这可能是因为空值所以写了以下内容:
(DT_I4)AdjustmentDueDayCode > 0 ? (DATEADD("dd",
(DT_I4)AdjustmentDueDayCode,ExpirationDate) : "null"
但是还是出现同样的错误,有什么建议吗?