[ DE ]

IL042, "The maximum lengths for character string types and binary string types."


CREATE TABLE ... (
 s VARCHAR(999999999999)
)

The maximum maximum length a system accepts for the variable-length character strings is implementation-defined.

BigQueryBigQuery 2026年01月03日Db2 (LUW)Db2 (LUW) 12.1.3DuckDBDuckDB 1.4.0H2H2 2.4.240MariaDBMariaDB 12.1.2MySQLMySQL 9.5.0Oracle DBOracle DB 23.26.0PostgreSQLPostgreSQL 18SQL ServerSQL Server 2025SQLiteSQLite 3.51.01 255 4000 4001 8000 8001 16383 16384 32704 32705 32767 32768 65535 65536 10485760 10485761 16777215 16777216 4294967295 4294967296 BigQueryBigQuery 2026年01月03日Db2 (LUW)Db2 (LUW) 12.1.3DuckDBDuckDB 1.4.0H2H2 2.4.240MariaDBMariaDB 12.1.2MySQLMySQL 9.5.0Oracle DBOracle DB 23.26.0PostgreSQLPostgreSQL 18SQL ServerSQL Server 2025SQLiteSQLite 3.51.01 254 255 4000 4001 8000 8001 16383 16384 32704 32705 32767 32768 65535 65536 10485760 10485761 16777215 16777216 4294967295 4294967296

One day there will be a better visualization, but not today.

Affected Features

Normative References

The implementation-defined element IL042, "The maximum lengths for character string types and binary string types.", is specified in ISO/IEC 9075-2:2023.

You can’t catch up on 20 years of SQL evolution in one day. Subscribe the newsletter via E-Mail , Bluesky or RSS to gradually catch up and to keep modern-⁠sql.com on your radar.

About the Author

[画像:Photo of Markus Winand]

Markus Winand provides insights into SQL and shows how different systems support it at modern-sql.com. Previously he made use-the-index-luke.com, which is still actively maintained. Markus can be hired as trainer, speaker and consultant via winand.at.

Buy the Book

Cover of "SQL Performance Explained": Squirrel running on grass

The essence of SQL tuning in 200 pages

Buy now!
(paperback and/or PDF)

Paperback also available at Amazon.com.

Hire Markus

Markus offers SQL training and consulting for developers working at companies of all sizes.
Learn more »

Connect with Markus Winand

Subscribe mailinglists Subscribe the RSS feed Markus Winand on LinkedIn Markus Winand on XING Markus Winand on Twitter Markus Winand on Bluesky
Copyright 2015-2026 Markus Winand. All righs reserved.
Legal | Contact | NO WARRANTY | Trademarks | Privacy and GDPR

AltStyle によって変換されたページ (->オリジナル) /