选中指定表,右键选择 设计表
在定义那儿填写语句
BEGIN declare msg varchar(255); set msg="禁止删除操作"; SIGNAL SQLSTATE 'HY000' SET MESSAGE_TEXT = msg; END标签:触发器,删除,指定,navicat,mysql,msg From: https://www.cnblogs.com/sherlock-merlin/p/17527144.html
选中指定表,右键选择 设计表
在定义那儿填写语句
BEGIN declare msg varchar(255); set msg="禁止删除操作"; SIGNAL SQLSTATE 'HY000' SET MESSAGE_TEXT = msg; END标签:触发器,删除,指定,navicat,mysql,msg From: https://www.cnblogs.com/sherlock-merlin/p/17527144.html