> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# referential_constraints

> Information schema placeholder view not implemented in the database.

**Note**

This view does not apply to the available features in the database.

`referential_constraints` contains all referential (foreign key) constraints.

The following fields are provided in `referential_constraints`:

| **Field** | **Description** |
| - | - |
| CONSTRAINT\_CATALOG | The name of the catalog to which the constraint belongs. This value is always `def`. |
| CONSTRAINT\_SCHEMA | The name of the database to which the constraint belongs. |
| CONSTRAINT\_NAME | The name of the constraint. |
| UNIQUE\_CONSTRAINT\_CATALOG | The name of the catalog containing the unique constraint that the constraint references. This value is always `def`. |
| UNIQUE\_CONSTRAINT\_SCHEMA | The name of the schema containing the unique constraint that the constraint references. |
| UNIQUE\_CONSTRAINT\_NAME | The name of the unique constraint that the constraint references. |
| MATCH\_OPTION | The value of the constraint `MATCH` attribute. The only valid value at this time is `NONE`. |
| UPDATE\_RULE | The value of the constraint `ON UPDATE` attribute. Valid values: `CASCADE`, `SET NULL`, `SET DEFAULT`, `RESTRICT`, and `NO ACTION`. |
| DELETE\_RULE | The value of the constraint `ON DELETE` attribute. Valid values: `CASCADE`, `SET NULL`, `SET DEFAULT`, `RESTRICT`, and `NO ACTION`. |
| TABLE\_NAME | The name of the table. This value is the same as in the `TABLE_CONSTRAINTS` table. |
| REFERENCED\_TABLE\_NAME | The name of the table referenced by the constraint. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.