sql-server – 如何在SQL Server中删除触发器?

前端之家收集整理的这篇文章主要介绍了sql-server – 如何在SQL Server中删除触发器?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我需要删除sql Server中的触发器.似乎应该是简单的,但是因为有一个叫做“删除触发器”的东西,一个在删除时被调用的触发器,似乎找不到如何实际删除已经存在的触发器的资源.

解决方法

DROP TRIGGER

Removes one or more triggers from the current database…

You can remove a trigger by dropping it or by dropping the trigger table. When a table is dropped,all associated triggers are also dropped. When a trigger is dropped,information about the trigger is removed from the sysobjects and syscomments system tables.

Use DROP TRIGGER and CREATE TRIGGER to rename a trigger. Use ALTER TRIGGER to change the definition of a trigger…

原文链接:https://www.f2er.com/mssql/76000.html

猜你在找的MsSQL相关文章