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.
Answers were Sorted based on User's Feedback
Answer / 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 |
What is an Oracle sequence?
How to bring a tablespace offline?
can you call insert/update/delete in select statements. If yes how? If no what is the other way?
How can you merge two tables in oracle?
What is meant by raw datatype?
Why do we need integrity constraints in a database?
What are the extensions used by oracle reports?
What are the varoius components of physical database structure of oracle database?
How to generate query output in html format?
What is a Synonym ?
How to change system global area (sga) in oracle?
What is enter substitution variable in oracle?