what is the difference between to_char and to_date
functions?

Answer Posted / m

to_char conversion function will convert given data to character data whereas to_data will convert given character data into date format model.


Also we can say like to_char conversion function use for convert invalid data into valid data.
and to_date conversion function will convert valid data into invalid.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you update f as m and m as f from the below table testtable?

1084


Why do we need view in sql?

549


How do you use join?

524


What is the difference between having clause and where clause?

572


What is the primary use of normalization?

531






What does count (*) mean in sql?

1091


Where is pl sql used?

521


What is difference between primary and secondary key?

519


Differentiate between % rowtype and type record.

735


What is cascade in sql?

561


What is assignment operator in pl sql?

567


What are some predefined exceptions in pl/sql?

552


What is synonyms?

573


how to fetch alternate records from a table? : Sql dba

600


What is query optimization in sql?

550