what is the difference between to_char and to_date
functions?
Answer Posted / rajesh
to_char function is used to convert the given data into
character....
eg:to_char(sysdate,'month') which returns month alone...
to_date is used to convert the given data into date data
formate data type....
eg: to_date('070903', 'MMDDYY') would return a date value
of July 9, 2003.
| Is This Answer Correct ? | 138 Yes | 33 No |
Post New Answer View All Answers
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
Can you upgrade sql express to full sql?
Define a temp table?
When do we use triggers?
What do you mean by rowid?
What is procedure in pl sql?
Can we debug stored procedure?
How to find 3rd highest salary of an employee from the employee table in sql?
How to fetch alternate records from a table?
What is auto increment in sql?
How do I view a sql trace file?
Why do we need cursors in pl sql?
What is multiple columns?
How does left join work in sql?
How do I save a sql query?