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!

Hijri and Gregorian Dates

GQJun 29 2011 — edited Jun 29 2011
Dear All,

I have a SQL like below:
Select statusdate, statusdate_gregorian, status from status_table;
My DB is in Arabic, when I read statusdate as above from DB it returns me Hijri date as default. In second column I need date in gregorian date for which I have one table Calender which is mapped with Gregorian and Hijri dates. Can I use decode command in SELECT and apply it on table when I give hijri date it returns me Gregorian date? Or any other solution.

Your help will highly be appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2011
Added on Jun 29 2011
4 comments
1,199 views