Information Schema TABLE_CONSTRAINTS Table
You are viewing an old version of this article. View the current version here.
The Information Schema
TABLE_CONSTRAINTS table contains information about tables that have constraints.
It has the following columns:
|Database name containing the constraint.|
|Type of constraint; one of |
REFERENTIAL_CONSTRAINTS table has more information about foreign keys.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.