referential_constraints
This table exists for MySQL client compatibility and returns no rows. It does not provide a foreign key constraint inventory.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.referential_constraints LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
CONSTRAINT_CATALOG | varchar(64) | Reserved for MySQL compatibility. |
CONSTRAINT_SCHEMA | varchar(64) | Reserved for MySQL compatibility. |
CONSTRAINT_NAME | varchar(64) | Reserved for MySQL compatibility. |
UNIQUE_CONSTRAINT_CATALOG | varchar(64) | Reserved for MySQL compatibility. |
UNIQUE_CONSTRAINT_SCHEMA | varchar(64) | Reserved for MySQL compatibility. |
UNIQUE_CONSTRAINT_NAME | varchar(64) | Reserved for MySQL compatibility. |
MATCH_OPTION | varchar(64) | Reserved for MySQL compatibility. |
UPDATE_RULE | varchar(64) | Reserved for MySQL compatibility. |
DELETE_RULE | varchar(64) | Reserved for MySQL compatibility. |
TABLE_NAME | varchar(64) | Reserved for MySQL compatibility. |
REFERENCED_TABLE_NAME | varchar(64) | Reserved for MySQL compatibility. |
Use DESCRIBE information_schema.referential_constraints; to inspect the schema in your warehouse.