Oracle 8.0.5.1
AIX 4.3.3
I have a table column defined as char(50)
It contains a time and date stamp defined as YY,MM,DD,HH,MI,SS
I am trying to convert this to a real date using
select to_date(PH00_CUSTOM_RESERVED, 'YY,MM,DD,HH,MI,SS') from phpick00
but get
select to_date(PH00_CUSTOM_RESERVED, 'YY,MM,DD,HH,MI,SS') from phpick00
*
ERROR at line 1:
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
Any Ideas? changing the format is not an option (3rd party apps, lots of work, lots of money etc, etc)
Alex
AIX 4.3.3
I have a table column defined as char(50)
It contains a time and date stamp defined as YY,MM,DD,HH,MI,SS
I am trying to convert this to a real date using
select to_date(PH00_CUSTOM_RESERVED, 'YY,MM,DD,HH,MI,SS') from phpick00
but get
select to_date(PH00_CUSTOM_RESERVED, 'YY,MM,DD,HH,MI,SS') from phpick00
*
ERROR at line 1:
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
Any Ideas? changing the format is not an option (3rd party apps, lots of work, lots of money etc, etc)
Alex