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 oracle sql free?
What is the difference between alter trigger and drop trigger statements?
What is program debugging?
What is the use of partition by in sql?
How does sql profiler work?
What is time based sql injection?
Why partition by is used in sql?
how do you control the max size of a heap table? : Sql dba
what is the difference between char_length and length? : Sql dba
Write a query to find the names of users that begin with "um" in sql?
what is bcp? When does it used? : Sql dba
How do I kill a query in postgresql?
Why do we create stored procedures & functions in pl/sql and how are they different?
What is t sql in sql server?
what is the command used to fetch first 5 characters of the string? : Sql dba