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 write pl sql program in mysql command prompt?

1164


What are the 3 modes of parameter?

1204


what is cursor and its type, what is ref cursor write a syntax to pass ref cursor into procedure out fucntion and call the procedure

2156


What is structural independence and why is it important?

1074


what is the difference between ereg_replace() and eregi_replace()? : Sql dba

1226


what are the different type of sql's statements ? : Sql dba

976


What is sql mysql pl sql oracle?

1128


What is pl sql block in dbms?

1055


Explain the update statement in sql

1041


What are sql queries used for?

1079


What is foreign key and example?

982


How many sql are there?

1050


Can two tables have same primary key?

1023


What is cte?

1020


How to run pl sql program in mysql?

1071