information_schema.domains.character_octet_length

mysql

mariadb

tidb

postgres

type: CARDINAL_NUMBER NULL
Note:
If the domain has a character type, the maximum possible length in octets (bytes) of a datum; null for all other data types. The maximum octet length depends on the declared character maximum length (see above) and the server encoding.
© 1996-2022 The PostgreSQL Global Development Group
10-15
type: CARDINAL_NUMBER
Note:
If the domain has a character type, the maximum possible length in octets (bytes) of a datum; null for all other data types. The maximum octet length depends on the declared character maximum length (see above) and the server encoding.
© 1996-2022 The PostgreSQL Global Development Group
9-9.6
Note:
If the domain has a character type, the maximum possible length in octets (bytes) of a datum (this should not be of concern to PostgreSQL users); null for all other data types.
© 1996-2022 The PostgreSQL Global Development Group
7.4-8.4

cockroachdb

mssql

type: INT NULL
Note:
Maximum length, in bytes, for binary data, character data, or text and image data. -1 for xml and large-value type data. Otherwise, NULL is returned.
© Microsoft 2022
azuresqldb-current-sql-server-ver15