How to convert the date format from dd/mm/yyyy to
mm/dd/yyyy. (for eg). 22/05/2008 to 05/22/2008.
when u use to_char(), it tells the month is invalid. how to
resolve this problem.tel with eg.
Answer Posted / prabhu
1* select
to_char(to_date('22/05/2008','dd/mm/yyyy'),'mm/dd/yyyy')
from dual
SQL> /
TO_CHAR(TO
----------
05/22/2008
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
Where is the export dump file located?
State the various uses of dbcc command?
How to create a new table in your schema?
What is Library Cache in Oracle?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
When do we use group by clause in a sql query?
How to write date and time literals in oracle?
ABOUT IDENTITY?
What is max rowid in oracle?
Can multiple cursors being opened at the same time?
In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?
What is the difference between view and materialized view in Oracle?
What is the sql query to concatenate column values from multiple rows in oracle?
How will you write a query to get a 5th rank student from a table student_report?
how to handle exceptions in post production