Show constraints on tables command

后端 未结 8 1290
慢半拍i
慢半拍i 2020-11-29 14:44

I have tables that I\'ve tried setting PK FK relationships on but I want to verify this. How can I show the PK/FK restraints? I saw this manual page, but it does not show ex

8条回答
  •  生来不讨喜
    2020-11-29 15:25

    Try doing:

    SHOW TABLE STATUS FROM credentialing1;
    

    The foreign key constraints are listed in the Comment column of the output.

提交回复
热议问题