Skip to Main Content

APEX

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!

Fix for Day and month wrong way around?

Rambo79Aug 20 2014 — edited Sep 2 2014

Hi

In my oracle table in the date field if the day is over 12 then for some reason the day and month is the wrong way around, from previous data imports to the table

So for example

09/02/1970 is displaying as 02/09/1970 (UK date format)

but if the date isĀ  22/02/1970 this is showing correctly in the database as the day was over 12.

Without having to resort in trying to load the data into the database again could I use PL/SSQL to check if a day is 12 or below and switch the values for the day and the month keeping the year the same

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2014
Added on Aug 20 2014
8 comments
2,648 views