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
What are the different types of database management systems?
What is sql*plus?
What are functions in sql?
What is trigger with example?
How do you write an index?
Does inner join remove duplicates?
What is java sql driver?
How do I count records in sql?
Are views faster than queries?
How many parts of a pl sql block are optional?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
explain the advantages and disadvantages of stored procedure? : Sql dba
How do I turn a list into a table?
Can I create table without primary key?
How does one load ebcdic data? : aql loader