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 VARCHAR data types?

Answers were Sorted based on User's Feedback



What is the difference between CHAR and VARCHAR data types?..

Answer / rajan vardawaj

CHAR is a fixed length data type. CHAR(n) will take n
characters of storage even if you enter less than n
characters to that column. For example, “Hello!”

will be stored as “Hello! ” in CHAR(10) column. VARCHAR is a
variable length data type. VARCHAR(n) will take only the
required storage for the actual number

of [...]

Is This Answer Correct ?    27 Yes 2 No

What is the difference between CHAR and VARCHAR data types?..

Answer / shekoli

Char is a fixed lenth datatype. Ex: char(7), welcome

but varchar is a variable length datatypes, Ex:
varchar(7),welcome (or) come

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More MySQL Interview Questions

What is memory table in mysql?

0 Answers  


Explain the difference between MyISAM Static and MyISAM Dynamic?

1 Answers  


Where is the mysql config file?

0 Answers  


why not null is not allowed at table level

0 Answers   Cognizant,


What is the difference between mysql_fetch_array() and ysql_fetch_object() ?

0 Answers  


how to display nth highest salary from a table in a mysql query? : Mysql dba

0 Answers  


How many ways to get the current time?

0 Answers  


what is the difrence between sql and pl/sql

21 Answers   Wipro,


Can we rollback truncate in mysql?

0 Answers  


Which statement is used in a select query for partial matching?

0 Answers  


What happens when the column is set to AUTO INCREMENT and you reach the maximum value for that table?

2 Answers  


What are the types of queries?

0 Answers  


Categories