Error while viewing data from OCI Stage
Posted: Sat Nov 06, 2010 2:24 am
I am facing an issue with reading and writing dates from/into Oracle
My job design
Source_OCI_Stage -> Transformer -> Target_OCI_Stage
1. The Oracle table has the datatype as DATE
2. OCI Stage has the column defined as TIMESTAMP
When I click on view data I get the error ORA-01821: date format not recognized
I am using generated sql
Source_OCI_Stage corresponds to TO_CHAR(MYCOL,'YYYY-MM-DD HH24:MI:SS')
Target_OCI_Stage corresponds to TO_DATE(MYCOL,'YYYY-MM-DD HH24:MI:SS')
We are using Oracle 11.2.0.1
Help Appreciated.
My job design
Source_OCI_Stage -> Transformer -> Target_OCI_Stage
1. The Oracle table has the datatype as DATE
2. OCI Stage has the column defined as TIMESTAMP
When I click on view data I get the error ORA-01821: date format not recognized
I am using generated sql
Source_OCI_Stage corresponds to TO_CHAR(MYCOL,'YYYY-MM-DD HH24:MI:SS')
Target_OCI_Stage corresponds to TO_DATE(MYCOL,'YYYY-MM-DD HH24:MI:SS')
We are using Oracle 11.2.0.1
Help Appreciated.