Organizational Research By

Surprising Reserch Topic

Why to use CHAR instead of VARCHAR in the database?



asked Sep 13, 2013 in MYSQL by rajesh
edited Sep 12, 2013
0 votes
23 views



Related Hot Questions

1 Answer

0 votes

CHAR is much more accurate and efficient to use. CHAR doesn’t have to keep a count of the variable length. It is more efficient when you have to use it for a text column which is of an exact length. Char is used for the data which are fixed, but VARCHAR is used for data like password, which are variable.

 
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013

...