1- CHAR used to store character string value of fixed length but VARCHAR store alphanumeric value of variable length.
2-CHAR maximum 255 characters but VARCHAR maximum 65535 characters.
3-CHAR faster than VARCHAR.
4-CHAR uses static memory allocation but VARCHAR uses dynamic memory allocation
Copyright ©2022 coderraj.com. All Rights Reserved.