what is the difference between to_char and to_date
functions?

Answer Posted / naveen

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 ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are transaction and its controls?

561


Give the order of sql select?

614


what is sql profiler? : Sql dba

592


What are different types of functions in sql?

511


What are the subsets of sql?

551






What are the qualities of 2nf?

546


How many types of index are there?

553


what are integrity rules?

570


What is the difference between nested table and varray?

523


Does sql use python?

563


Explain raise_application_error.

644


How do you write a subquery?

523


What do you understand by pl/sql records?

535


What is sql select statement?

505


What do you understand by pl/sql packages?

573