Can't Get Enough RSS 2.0
 Sunday, December 16, 2007

Sometimes you need to temporary disable a trigger, without dropping it, the following commands do this...

To disable a trigger:

Disable Trigger Table_1_Trigger On Table_1

Or

Alter Table Table_1 Disable Trigger Table_1_Trigger

 

To Re-enable it:

Enable Trigger Table_1_Trigger On Table_1

Or

Alter Table Table_1 Enable Trigger Table_1_Trigger

Sunday, December 16, 2007 6:43:18 PM UTC  #    Comments [0] -
SQL Server
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Navigation
Categories
Archive
<December 2007>
SunMonTueWedThuFriSat
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Ghazi Sarhan
Sign In
Statistics
Total Posts: 13
This Year: 0
This Month: 0
This Week: 0
Comments: 4
Themes
Pick a theme:
All Content © 2010, Ghazi Sarhan
DasBlog theme 'Business' created by Christoph De Baene (delarou)