information_schema.key_column_usage.referenced_table_schema

mysql

type: VARCHAR NULL
5.7-8

mariadb

type: NULL
Note:
For foreign keys, the referenced database name.
© 2022 MariaDB
5.1-10.8

tidb

type: VARCHAR(64) NULL
Note:
The name of the schema referenced by the constraint. Currently in TiDB, the value of this column in all constraints is nil, except for the foreign key constraint.
© 2022 PingCAP
4-6.1

postgres

cockroachdb

mssql