ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  MySQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is the difference between CHAR and VARCHAR data types?
 Question Submitted By :: Rajan Vardawaj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between CHAR and VARCHAR data types?
Answer
# 1
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 ?    3 Yes 0 No
Rajan Vardawaj
 

 
 
 
Other MySQL Interview Questions
 
  Question Asked @ Answers
 
What is ACID?  2
What is the difference between char and varchar data types?  3
in a master-master replication with two masters and alternate slaves running on two systems.can i have a script or any mysql command to know which one is right now acting as master.  1
How can we know the number of days between two given dates using MySQL? Webworks2
What does myisamchk do?  1
A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.  1
What is the difference between CHAR and VARCHAR data types?  1
How do you start and stop MySQL on Windows?  2
How do you index just the first four bytes of the column?  2
What are the other commands to know the structure of table using MySQL commands except explain command? SigmaTree2
How MySQL is different from SQL? HCL14
how to delete duplicate rows in sql server 2005? Reliance1
Explain the difference between FLOAT, DOUBLE and REAL.  3
What is the difference between mysql_fetch_array and mysql_fetch_object? CTS2
Use mysqldump to create a copy of the database?  1
Which one of the following is the correct way to select all columns and all rows from "vtable"? Choice 1 SELECT FROM vtable SELF JOIN vtable Choice 2 SELECT ALL COLUMNS FROM vtable WHERE ALL ROWS = * Choice 3 SELECT EVERYTHING FROM vtable Choice 4 SELECT vtable.* WHERE vtable = vtable Choice 5 SELECT * FROM vtable WHERE 1 = 1  3
Explain federated tables? Tech-Mahindra2
What is SERIAL data type in MySQL?  2
what is JOIN? Give example & types of join? iMedia8
Explain multi-version concurrency control in MySQL?  2
 
For more MySQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com