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
What is cost in sql execution plan?
What is offset and limit in sql?
Can we join tables without foreign key?
What is full join in sql?
Which join is default?
how to drop an existing table in mysql? : Sql dba
Is it important to partition hard disk?
How many joins can you have in sql?
explain access control lists. : Sql dba
what does it mean to have quoted_identifier on? : Sql dba
Can a procedure in a package be overloaded?
Which is better join or inner query?
Is sql better than excel?
how to convert numeric values to character strings? : Sql dba
What type of database is cloud sql?