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 is the difference between myisam static and myisam dynamic? : Sql dba

1068


What is the difference between left outer join and left join?

1000


how to enter characters as hex numbers? : Sql dba

1047


Can a varchar be a primary key?

1013


what is collation? : Sql dba

1158


How do you pronounce sql?

1020


What are the different set operators available in sql?

1029


What does trigger mean in psychology?

967


how to shutdown mysql server? : Sql dba

1107


Explain the difference between rename and alias?

1018


Explain two easy sql optimizations.

1019


What is sql integrity?

1165


Why we use pl sql?

964


What is bulk collect in pl sql?

1096


Is there a way to automate sql execution from the command-line, batch job or shell script?

977