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 is the difference between myisam static and myisam dynamic? : Sql dba
What is the difference between left outer join and left join?
how to enter characters as hex numbers? : Sql dba
Can a varchar be a primary key?
what is collation? : Sql dba
How do you pronounce sql?
What are the different set operators available in sql?
What does trigger mean in psychology?
how to shutdown mysql server? : Sql dba
Explain the difference between rename and alias?
Explain two easy sql optimizations.
What is sql integrity?
Why we use pl sql?
What is bulk collect in pl sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?