且构网

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

如何在 MySql 触发器中中止 INSERT 操作?

更新时间:2022-12-04 13:49:48

mysql 文档中关于触发器的评论 表明 mysql 中没有这样的功能.您能做的***的事情是为您的触发器错误创建一个单独的表,如同一页面上的建议.

The comments in the mysql documentation about triggers suggest that there is no such feature in mysql. The best you can do is to create a separate table for your trigger errors, as suggested on the same page.