joeroe3380
MIS
Hi group ,
im trying to extract table from oracle table using select ..
but i encounter the following error...
SQL> SELECT * FROM TABLE_RPT WHERE CYC_DT = '20030303' AND ROWNUM<10;
SELECT * FROM TABLE_RPT WHERE CYC_DT = '20030303' AND ROWNUM<10
*
ERROR at line 1:
ORA-01861: literal does not match format string
----------------------------------------------------------
but when i change the CYC_DT format to be '03-JAN-2003' it runs fine..
please advice how to go about solving this error..and the reason for the error message...
Thanks for ur help !!
regards,
Suzzann'e
im trying to extract table from oracle table using select ..
but i encounter the following error...
SQL> SELECT * FROM TABLE_RPT WHERE CYC_DT = '20030303' AND ROWNUM<10;
SELECT * FROM TABLE_RPT WHERE CYC_DT = '20030303' AND ROWNUM<10
*
ERROR at line 1:
ORA-01861: literal does not match format string
----------------------------------------------------------
but when i change the CYC_DT format to be '03-JAN-2003' it runs fine..
please advice how to go about solving this error..and the reason for the error message...
Thanks for ur help !!
regards,
Suzzann'e