Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Database
→
Introduction To Database in Database
→
What is the difference between CHAR and VARCHAR in...
1.
What is the difference between CHAR and VARCHAR in MySQL?
Answer»
CHAR can have a maximum of
255
characters, but VARCHAR can hold a maximum of 65,535 characters.
CHAR field is a fixed length, but VARCHAR is a variable length field.
CHAR uses
STATIC
MEMORY
ALLOCATION
, but VARCHAR uses dynamic memory allocation.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How do you create view in MySQL?
What is view in MySQL?
What is the difference between timestamp and datetime in MySQL?
How to convert a string to utf 8 in MySQL?
What is the degree of a table in MySQL?
How to upload a large file through phpmyadmin in MySQL?
What is temporary table in MySQL?
What is heap table in MySQL?
How do I count the number of records in a MySQL query?
How can I see all indexes on a table in MySQL Database?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies