|
|
Question : Oracle to_date Function
|
|
i have problems with oracle to_date function My query is select to_date(sysdate,'dd/mm/yyyy') from dual
the output is --------------------- 08-oct-2002
how to get the date in 'dd/mm/yyyyy' format ?
regards cheese
|
Answer : Oracle to_date Function
|
|
To convert date into a string as you are doing, you need to use to_char:
select to_char(sysdate,'dd/mm/yyyy') from dual;
HTH Ali
|
|
|
|
|