Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01841: (full) year must be between -4713 and +9999, and not be 0

Rajesh123Jul 22 2016 — edited Jul 22 2016

Hi All,

Here column1='Check:123'

select TO_CHAR(TO_DATE(SUBSTR(:column1,1,10),'YYYY/MM/DD'),'DD-Mon-YYYY')

from dual

getting below error

ORA-01841: (full) year must be between -4713 and +9999, and not be 0

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

Please help me on this, how to resolve this error.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2016
Added on Jul 22 2016
18 comments
9,931 views