What is the difference between VARCHARAND CHAR datatypes?

Started by Julius, October 24, 2014, 11:48:34 AM

Previous topic - Next topic

Rylee

Hi everyone, I have a question, I hope you will answer me, what is the difference between varcharand char datatypes? Thank you very much for answering me !!!

Yahya

VARCHAR is variable-length.

CHAR is fixed length.

If your content is a fixed size, you'll get better performance with CHAR