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!

to_date function

16483Sep 28 2001
Right now the back end of our application is oracle 7.3.4. Our
application uses Julian dates that are stored in the database
and char(6) in the format yy0ddd, where 0 is a delimiter between
yy and ddd.

When we display this julian date on the front end, we use to
to_date function to convert it to yyyy-mm-dd format as specified
in the nls_date_format parameter.

Select to_date(<6char julian dat>,'rr#ddd') from <Table Name>;

This works fine in Oracle 7.3.4.

Now we are migrating our database to oracle 8i. When we were
doing preliminary testing we found that the above select
statement is resulting in Ora - 01861.

Could anyone please let me know as to why this would be
happening.

Thanks
Vaidya
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2001
Added on Sep 28 2001
2 comments
370 views