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 t-sql? : Transact sql

970


What schema means?

879


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

980


What is group function in sql?

1002


What does the base_object_type column shows in the user.triggers data dictionary view?

1031


What are the different ways to optimize a sql query?

932


What is the difference between clustered and non-clustered indexes?

1078


Does pl sql work in mysql?

956


What is cost in sql execution plan?

968


Why do we use procedures in pl sql?

1011


What information is needed to connect sql*plus an oracle server?

1009


What is row_number () in sql?

968


explain mysql aggregate functions. : Sql dba

974


What are the different parts of a package?

1101


When sql appeared?

1075