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
What are the ansi data types supported in oracle?
How does oracle handle read consistency?
Where do you use decode and case statements?
How to see free space of each tablespace?
How to count duplicated values in a column in oracle?
Point the difference between translate and replace?
Can a formula column referred to columns in higher group ?
How do I start tns listener?
What is data file?
How to start instance with a minimal initialization parameter file?
What happens if variable names collide with table/column names?
State any two functions of oracle?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
How to rename an existing table?
Use of an integrity constraint is better to validate data. Explain