Page 1 of 1

date error

Posted: Wed May 28, 2008 4:14 pm
by dstage443
i am trying to load a csv file into a table ...

[DataStage][SQL Client][ODBC][Oracle][ODBC]Datetime field overflow.

i am getting the following error .... the date field is in M/DD/YYYY FORMAT AND the date format for oracle database is DD-MON-YY

... im just starting my first task in datastage so any help wuld be appreciated

Posted: Wed May 28, 2008 6:12 pm
by ray.wurlod
Welcome aboard.

ODBC protocols require dates to be in YYYY-MM-DD format (according to the ISO 8601 standard). This requirement overrides the Oracle date picture and the actual format of your date.

Change your date format, for example using

Code: Select all

Oconv(Iconv(InLink.MyDate, "DMDY"), "D-YMD[4,2,2]")