Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is oracle sql free?

926


What is the difference between alter trigger and drop trigger statements?

1041


What is program debugging?

1128


What is the use of partition by in sql?

928


How does sql profiler work?

964


What is time based sql injection?

900


Why partition by is used in sql?

969


how do you control the max size of a heap table? : Sql dba

920


what is the difference between char_length and length? : Sql dba

989


Write a query to find the names of users that begin with "um" in sql?

923


what is bcp? When does it used? : Sql dba

932


How do I kill a query in postgresql?

1011


Why do we create stored procedures & functions in pl/sql and how are they different?

887


What is t sql in sql server?

1000


what is the command used to fetch first 5 characters of the string? : Sql dba

1584