且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用phpmyadmin添加删除级联和更新限制?

更新时间:2023-02-02 23:29:14

在定义表结构的选项卡中,您将获得列及其属性的列表,并且在它们之间应该有一个链接关系视图". 打印视图"和提议表结构".

In the tab where you define the table structure, you get the list of columns and their properties and underneath that there should be a link "relation view", between "print view", and "propose table structure."

这是您要去的地方,但是您必须已经在两个表上都创建了索引. 另外,您可能要确保使用的是mysql的innoDB存储引擎.

That's where you want to go, but you have to have created the index on both tables already. Also, you might want to make sure you're using mysql's innoDB storage engine.

一张图像值1000字:

Edit : An image is worth 1000 words :