Skip to main content

table_constraints

This table exists for MySQL client compatibility and returns no rows. It does not provide a table constraint inventory.

Run the query in the warehouse SQL Editor or a connected SQL client:

SELECT * FROM information_schema.table_constraints LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
CONSTRAINT_CATALOGvarchar(512)Reserved for MySQL compatibility.
CONSTRAINT_SCHEMAvarchar(64)Reserved for MySQL compatibility.
CONSTRAINT_NAMEvarchar(64)Reserved for MySQL compatibility.
TABLE_SCHEMAvarchar(64)Reserved for MySQL compatibility.
TABLE_NAMEvarchar(64)Reserved for MySQL compatibility.
CONSTRAINT_TYPEvarchar(64)Reserved for MySQL compatibility.

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

Ask AI