information_schema.columns.character_maximum_length

mysql

type: BIGINT NULL
5.7-8

mariadb

type: NULL
Note:
Maximum length.
© 2022 MariaDB
5.1-10.8

tidb

type: BIGINT(21) NULL
Note:
For string columns, the maximum length in characters.
© 2022 PingCAP
4-6.1

postgres

type: CARDINAL_NUMBER NULL
Note:
If data_type identifies a character or bit string type, the declared maximum length; null for all other data types or if no maximum length was declared.
© 1996-2022 The PostgreSQL Global Development Group
10-15
type: CARDINAL_NUMBER
Note:
If data_type identifies a character or bit string type, the declared maximum length; null for all other data types or if no maximum length was declared.
© 1996-2022 The PostgreSQL Global Development Group
7.4-9.6

cockroachdb

type: unknown
Note:
If data_type is STRING, the maximum length in characters of a value; otherwise NULL.
© 2022 CockroachDB
2-21.2
Note:
If DATA_TYPE is STRING, the maximum length in characters of a value; otherwise NULL.
© 2022 CockroachDB
1-1.1

mssql

type: INT NULL
Note:
Maximum length, in characters, for binary data, character data, or text and image data. -1 for xml and large-value type data. Otherwise, NULL is returned. For more information, see Data Types (Transact-SQL).
© Microsoft 2022
aps-pdw-2016-sql-server-ver15