ON UPDATE CASCADE ON DELETE CASCADE

ON UPDATE CASCADE ON DELETE CASCADE

on update cascade是级联更新的意思,on delete cascade是级联删除的意思,意思就是说当你更新或删除主键表,那外见表也会跟随一起更新或删除
posted @ 2013-04-24 00:05  Pan Code  阅读(671)  评论(0编辑  收藏  举报
88CTO版权所有