Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: sgolding@mda-data.comHi,
Has anyone come across this issue before?
Every time I load a date field into an Oracle database (from LAE) I have to either:
A) Convert the date into the default Oracle date format (e.g. DD/MON/YYYY) as a string
OR
B) Convert the field using the TO_DATE() function in Oracle insert statement.
If I don't do this then I get a ": cannot reconcile type differences between database type 'date' and type to be loaded 'string'" error.
Usually I don't really mind however I have over 10 date fields that I need convert and maintenance will be an issue.
I know if you run the SQL command "ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';" before the insert then dates will insert without errors however I'm not sure if this is possible with the DB_STORE node
Thank you in advance,
Stephen.