OCI Date Conversion Failed
Posted: Mon May 19, 2008 3:27 pm
Hello all,
I'm using the Oracle OCI Stage to populate an Oracle table, I have an strange behaviour, when the table is empty, i can populate it with no problem. If it has data, and one of the date fields has a date with a year in the range of XX32 - XX99, the job doesn't work raising the error "OCI Date Conversion Failed", I get the same error when performing a "View Data" in the stage.
Does it have something to do with oracle parameters?
I checked the NLS_DATE_FORMAT in Oracle and these are the results:
nls_database_parameters = DD-MON-RR
nls_session_parameters = DD-MON-YY
nls_instance_parameters = DD-MON-YYYY (changed today when problem first appeared)
I am doing an ALTER SESSION for every OCI stage in the job with the value "DD-MM-YYYY" and it still doesnt work.
I must say that I didn't install NLS support.
Perhaps I am in the wrong direction trying to solve this by altering Oracle parameters.
Thank you. Best regards,
Yonny R. Serrano
I'm using the Oracle OCI Stage to populate an Oracle table, I have an strange behaviour, when the table is empty, i can populate it with no problem. If it has data, and one of the date fields has a date with a year in the range of XX32 - XX99, the job doesn't work raising the error "OCI Date Conversion Failed", I get the same error when performing a "View Data" in the stage.
Does it have something to do with oracle parameters?
I checked the NLS_DATE_FORMAT in Oracle and these are the results:
nls_database_parameters = DD-MON-RR
nls_session_parameters = DD-MON-YY
nls_instance_parameters = DD-MON-YYYY (changed today when problem first appeared)
I am doing an ALTER SESSION for every OCI stage in the job with the value "DD-MM-YYYY" and it still doesnt work.
I must say that I didn't install NLS support.
Perhaps I am in the wrong direction trying to solve this by altering Oracle parameters.
Thank you. Best regards,
Yonny R. Serrano