Character Data Types
Character Data Types
Character data types are used to store text strings.
- CHAR(n): Fixed-length character string with length n.The n parameter can be from 0 to 255. Default is 1. Example: CHAR(10).
- VARCHAR(n): Variable-length character string with maximum length n. The n parameter can be from 0 to 65535. Example: VARCHAR(50).
- TEXT: Variable-length character string with a large maximum length. Example: TEXT.
Semantic portal