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 / 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 the different types of database management systems?

949


What is sql*plus?

1016


What are functions in sql?

899


What is trigger with example?

1011


How do you write an index?

912


Does inner join remove duplicates?

884


What is java sql driver?

1037


How do I count records in sql?

942


Are views faster than queries?

916


How many parts of a pl sql block are optional?

1031


Where are my tempfiles, I don't see them in v$datafile or dba_data_file?

943


explain the advantages and disadvantages of stored procedure? : Sql dba

956


How do I turn a list into a table?

905


Can I create table without primary key?

937


How does one load ebcdic data? : aql loader

1092