Skip to main content

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 nameTypeDescription
CONSTRAINT_CATALOGvarchar(64)Reserved for MySQL compatibility.
CONSTRAINT_SCHEMAvarchar(64)Reserved for MySQL compatibility.
CONSTRAINT_NAMEvarchar(64)Reserved for MySQL compatibility.
UNIQUE_CONSTRAINT_CATALOGvarchar(64)Reserved for MySQL compatibility.
UNIQUE_CONSTRAINT_SCHEMAvarchar(64)Reserved for MySQL compatibility.
UNIQUE_CONSTRAINT_NAMEvarchar(64)Reserved for MySQL compatibility.
MATCH_OPTIONvarchar(64)Reserved for MySQL compatibility.
UPDATE_RULEvarchar(64)Reserved for MySQL compatibility.
DELETE_RULEvarchar(64)Reserved for MySQL compatibility.
TABLE_NAMEvarchar(64)Reserved for MySQL compatibility.
REFERENCED_TABLE_NAMEvarchar(64)Reserved for MySQL compatibility.

Use DESCRIBE information_schema.referential_constraints; to inspect the schema in your warehouse.