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!

Need date conversion code to excel

Anbarasan-OracleMay 23 2012 — edited May 24 2012
Hi All,

i have data like
----------------------------------
select '23-MAY-12' FROM DUAL
UNION
SELECT '24-MAY-12 FROM DUAL;
-----------------------------------------------
My Requirement
1)i have convert d the DD/MM/YYYY formate. using
select TO_CHAR( '23-MAY-12','DD/MM/YYYY') FROM DUAL
UNION
select TO_CHAR( '24-MAY-12','DD/MM/YYYY') FROM DUAL;
2)then i am trying export/download to excel this above date ..it is passing left side in excel as a text ...how to make once downloading from sqldev should have date format with right side.
Please help me out.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2012
Added on May 23 2012
15 comments
1,182 views