Can someone advice me please?
I have table in SQL Server
create table t_test_date
(
tcol_date date,
tcol_varchar varchar(20),
tcol_date1 date
)
When I try insert data from flat file with content
COL_DATE
20-DEC-33
20-NOV-33
10-MAY-28
10-NOV-21
10-MAY-17
11-MAY-17
--(To Allow has empty values)
Expression value of Derived Column component is:
COL_DATE == "" || ISNULL(COL_DATE) ? NULL(DT_DBDATE) : (DT_DBDATE)COL_DATE
I got error:
[Derived Column [17]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Derived Column" failed because error code 0xC0049063 occurred, and the error row disposition on "Derived Column.Outputs[Derived Column Output].Columns[COL_DATE]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.