Datastage Server Job V8.5 OracleDB Date Not Loading Properly
Posted: Wed Oct 30, 2013 9:34 am
Here is a peculiar error.
In a datastage server job,
My source data from a sequential file has date field with following value
yyyymmdd
Date
20121017
I am loading into oracle DB however that column in the database shows up as '21-JUN-57' (This is 06/21/7057)
I am not doing any transformations on the date. It is straight mapping.
I want the target in format 17-OCT-2012
The source data from sequential file has date as SQL Type and target has the same SQL Type. The Oracle DB matches perfectly in terms of column name, data type.
Can you please shed some light on why the date is not loading correctly and how to resolve the isssue?
In a datastage server job,
My source data from a sequential file has date field with following value
yyyymmdd
Date
20121017
I am loading into oracle DB however that column in the database shows up as '21-JUN-57' (This is 06/21/7057)
I am not doing any transformations on the date. It is straight mapping.
I want the target in format 17-OCT-2012
The source data from sequential file has date as SQL Type and target has the same SQL Type. The Oracle DB matches perfectly in terms of column name, data type.
Can you please shed some light on why the date is not loading correctly and how to resolve the isssue?