- Very low implementation-defined limit: 1
- Supports
varchar(max)as reasonably long length limit
The optional feature T081 allows omitting the length limit for the varchar, nvarchar and varbinary types—including their synonyms character varying, char varying, national character varying, national char varying, nchar varying and binary varying.
CREATE TABLE … (
s VARCHAR(…)
)If omitted, an implementation-defined limit applies✓✗. Note that these limits are sometimes as low as “1”.
The large object types allow omitting the length limit even without feature T081—thus the length limit was also optional for them before T081 was introduced in 2023.
There are also non-standard string types that can be declared without length limit.
- Including
tinytext,mediumtext,longtextandntext - Including
tinytext,mediumtextandlongtext - Including
ntext
Related
- Mandatory Features
- Optional Features
- Implementation-defined Elements

