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

How to use boolean type in select statement?

1074


What is a heap in sql?

1070


What is the difference between distinct and unique in sql?

948


how does a local variable is defined using t-sql? : Transact sql

1013


Differentiate pl/sql and sql?

1066


What are aggregate functions in sql?

1160


What is sqlerrd?

968


Is oracle sql free?

987


how to check server status with 'mysqladmin'? : Sql dba

1075


explain commit and rollback in mysql : sql dba

1016


What are triggers in sql?

1020


What is sql deadlock?

1142


How do rank () and dense_rank () differ?

1044


What is bitemporal narrowing?

1308


Is it possible to link two groups inside a cross products after the cross products group has been created?

1002