MariaDB - List table constraints
要查詢資料庫的 Constraints 可查閱 information_schema schema 的 table_constraints table。
select *
from information_schema.table_constraints
order by table_schema, table_name;
要查詢資料庫的 Constraints 可查閱 information_schema schema 的 table_constraints table。
select *
from information_schema.table_constraints
order by table_schema, table_name;