240
个人博客地址: olook.me
摘要: . cascade方式在父表上update/delete记录时,同步update/delete掉子表的匹配记录 . set null方式在父表上update/delete记录时,将子表上匹配记录的列设为null要注意子表的外键列不能为not null . No action方式如果子表中有匹配的记录 阅读全文
posted @ 2017-09-12 12:04 VayCi 阅读(228) 评论(0) 推荐(0) 编辑