Varchar
A VARCHAR or variable character field is a set of character data of indeterminate length.[src] The term varchar refers to a data type of a field (or column) in a database which can hold letters and numbers.[src] Varchar fields can be of any size up to a limit, which varies by databases: an Oracle 11g database has a limit of 4000 bytes, a MySQL 5.7 database has a limit of 65,535 bytes (for the entire row) and Microsoft SQL Server 2008 has a limit of 8000 bytes (unless varchar(max) is used, which has a maximum storage capacity of 2 gigabytes).[src] nvarchar is a variation of varchar , and which is more suitable depends on the use case.[src]
A VARCHAR or variable character field is a set of character data of indeterminate length.[src] The term varchar refers to a data type of a field (or column) in a database which can hold letters and numbers.[src] Varchar fields can be of any size up to a limit, which varies by databases: an Oracle 11g database has a limit of 4000 bytes, a MySQL 5.7 database has a limit of 65,535 bytes (for the entire row) and Microsoft SQL Server 2008 has a limit of 8000 bytes (unless varchar(max) is used, which has a maximum storage capacity of 2 gigabytes).[src] nvarchar is a variation of varchar , and which is more suitable depends on the use case.[src] ==See also== SQL data types ==References==[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Varchar." encyclopegia.org, 2025, https://encyclopegia.org/wiki/varchar. Accessed 27 November 2026.
Chicago
"Varchar." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/varchar.
APA
encyclopegia.org. (2025). Varchar. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/varchar
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON