Information Schema INNODB_SYS_FOREIGN_COLS Table

You are viewing an old version of this article. View the current version here.

The Information Schema INNODB_SYS_FOREIGN_COLS table contains information about InnoDB foreign key columns.

The PROCESS privilege is required to view the table.

It has the following columns:

ColumnDescription
IDForeign key index associated with this column, matching the INNODB_SYS_FOREIGN.ID field.
FOR_COL_NAMEChild column name.
REF_COL_NAMEParent column name.
POSOrdinal position of the column in the table, starting from 0.

Comments

Comments loading...
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.