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 CHAR and VARCHAR2? If
VARCHAR2 serves the uses of CHAR why CHAR is still used and
not been discarded yet?

Answer Posted / chandu

Have more diff between char and varchar2

char size only 2000 bytes in sql, default size is 1 byte.
it will occupying the trailing spaces. so much of memory wasted.

varchar2 size 4000 bytes in sql and no default size.
it will not occupying the trailing spaces.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function and procedure?

980


How to fix oracle error ora-00942: table or view does not exist

954


What does desc stand for?

1021


Which is better join or inner query?

958


Does user triggers have entry for trigger with compilation errors?

972


Can 2 queries be executed simultaneously in a distributed database system?

1079


What is inner join in sql?

999


How do I remove duplicates in two columns?

974


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

897


What are the types of join in sql?

1026


Can we debug stored procedure?

955


What is foreign key and example?

884


What is db journal file?

956


Define sql delete statement.

952


What are the benefits of pl sql?

1049