| Data type | Description | Storage |
|---|---|---|
| char(n) | Fixed-length character string. Maximum 8,000 characters | n |
| varchar(n) | Variable-length character string. Maximum 8,000 characters | |
| varchar(max) | Variable-length character string. Maximum 1,073,741,824 characters | |
| text | Variable-length character string. Maximum 2GB of text data |
Search This Blog
Data Types in SQL Server - Character strings
Labels:
Character Strings,
Data Types,
SQL Server
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment