Compare Char and Varchar datatype of SQL.
Answers
Answered by
2
VARCHAR
- VARCHAR is variable length.
- It can hold a maximum of 65,535 characters.
- It uses dynamic memory allocation.
CHAR
- CHAR is fixed length.
- It can hold a maximum of 255 characters.
- It uses static memory allocation.
Similar questions