Home >Database >Mysql Tutorial >sqlserver 禁用触发器和启用触发器的语句

sqlserver 禁用触发器和启用触发器的语句

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:59:221347browse

sqlserver 禁用触发器和启用触发器的语句,有需要的朋友可以试试。

--禁用

代码如下:
alter table tb
disable trigger tir_name

--啟用

代码如下:
alter table tb
enable trigger tir_name
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn