开发者

Can 2 update or insert triggers be created on the same table in SQL Server 2008?

Can 2 update or in开发者_开发技巧sert triggers be created on the same table in SQL Server 2008?


Yes you can create multiple triggers on the same table.

You can also specify which is the first and the last trigger to execute. Read more here

http://technet.microsoft.com/en-us/library/ms186762.aspx

But if you have more than three triggers, you have no control over the execution order between the specified first and last triggers.


You can yes. They must have a unique name but also bear in mind subsequent triggers will have to be AFTER triggers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜