The query below produces the following error...
where ins_date < to_date(20080327091000, 'yyyymmddhhmmss')
*
ERROR at line 6:
ORA-01810: format code appears twice
code:
update table_name
set UPD_PRGM = 'sqlplus',
UPD_DATE = SYSDATE,
UPD_USER = 'username',
process_date = to_date('03/27/2008', 'mm/dd/yyyy')
where ins_date < to_date(20080327091000, 'yyyymmddhhmmss')
and process_date is null
...I'm probably just a being thick but I don't understand the issue. Looks right to me. What's going on?
where ins_date < to_date(20080327091000, 'yyyymmddhhmmss')
*
ERROR at line 6:
ORA-01810: format code appears twice
code:
update table_name
set UPD_PRGM = 'sqlplus',
UPD_DATE = SYSDATE,
UPD_USER = 'username',
process_date = to_date('03/27/2008', 'mm/dd/yyyy')
where ins_date < to_date(20080327091000, 'yyyymmddhhmmss')
and process_date is null
...I'm probably just a being thick but I don't understand the issue. Looks right to me. What's going on?