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!

Convert a date into Common Format

user13115886Apr 25 2016 — edited Apr 26 2016

Hi,

I have date value in different formats coming in a flat file.

Sometimes, it comes in DD-MON-YY and sometimes MM/DD/YYYY.

20-Mar-2016

03/20/2016


If the date is in MM/DD/YYYY then leave it as is and if the date is DD-MON-YYYY, then convert it into MM/DD/YYYY.

Thanks

BK

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2016
Added on Apr 25 2016
11 comments
1,821 views