information_schema.domains.character_maximum_length

mysql

mariadb

tidb

postgres

type: CARDINAL_NUMBER NULL
Note:
If the domain has 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 the domain has 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

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
azuresqldb-current-sql-server-ver15