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!

how i can convert Jan-0025 to Jan-2024

SmithJohn45Feb 18 2025 — edited Feb 18 2025

we received a data contains data with Jan-0025 in a varchar2 type column, here is need to convert those values to Jan-2025, -year can be need to be previous year if data process run in next month like in Jan-2025 receive data of Dec-2024 and here difference can be of 2 Months like Dec-2024 data can be process in Feb-2025, so it can handle this situation too.

will be much thankful for help.

solution can be SQL or PL/SQL type like a function etc.

kind regards

This post has been answered by cormaco on Feb 18 2025
Jump to Answer
Comments
Post Details
Added on Feb 18 2025
10 comments
1,383 views