How to compare CHAR and VARCHAR in MySQL?

Posted by Prem Tiwari | Updated on

How to compare CHAR and VARCHAR in MySQL?

They are different in storage and retrieval. CHAR column length is fixed to length while VARCHAR length value varies from 1 to 255.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers