How to remove constraints from my MySQL table?

前端 未结 12 1452
北恋
北恋 2020-11-30 18:03

I want to remove constraints from my table. My query is:

ALTER TABLE `tbl_magazine_issue` 
DROP CONSTRAINT `FK_tbl_magazine_issue_mst_users`
<
12条回答
  •  时光取名叫无心
    2020-11-30 18:53

    1. Go to structure view of the table
    2. You will see 2 option at top a.Table structure b.Relation view.
    3. Now click on Relation view , here you can drop your foreign key constraint. You will get all relation here.

提交回复
热议问题