Webastor - Programming Tips and Tricks

Programming language => Sql => Topic started by: Rylee on October 24, 2014, 11:48:34 AM

Title: What is the difference between VARCHARAND CHAR datatypes?
Post by: Rylee on October 24, 2014, 11:48:34 AM
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 !!!
Title: Re: VARCHARAND CHAR datatypes
Post by: Yahya on February 19, 2018, 08:51:22 PM
VARCHAR is variable-length.

CHAR is fixed length.

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