information_schema.attributes.character_octet_length

mysql

mariadb

tidb

postgres

type: CARDINAL_NUMBER NULL
Note:
If data_type identifies 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 data_type identifies 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
8.2-9.6

cockroachdb

mssql