I am trying to import data from a .xlsx table that contains date columns. In these columns, dates are displayed in DD-MON-YY format (ex: 20-AUG-12).
When I start the import wizard, everything goes fine until I refine the mapping of columns and fields. I have a disclaimer saying that the selected format does not match the definition of a table field (my field is a date field). Script insert example:
INSERT INTO simulation (simulation_id, simulation_name, sim_start_date, sim_end_date, status, last_run_date, moddat, modusr, notification_email) VALUES (251.0, 'Proposal Test', To_date('01-DEC-11', 'DD-MON-YY'), To_date('31-DEC-11', 'DD-MON-YY'), 'C', To_date('09-AUG-12', 'DD-MON-YY'), To_date('09-AUG-12', 'DD-MON-YY'), 'Brent Weintz', ' bweintz@carlsonwagonlit.com ');
When I try to run this query, I received the following error:
ORA-01843: Invalid month 01843. 00000 - "Invalid month"
As you can see, the formats are consistent, and I cannot figure out where the problem is ... Any ideas?
EDIT: My date language setting is set to "FRENCH". Can I change it to "AMERICAN"?