Information Schema INNODB_SYS_FOREIGN_COLS Table

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:

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