Disable All Trigger

Hi,
Some days back i had to disable all the triggers in database.Some R&D and Web Search gave me the perfect solution.
To Disable Trigger for the Table
Disable Trigger MyDatabase.MyTable On MyDatabase

Disable all the triggers for all servers:
DISABLE Trigger ALL ON ALL SERVER
To Enable Trigger for the Table or Server just replace Disable Keyword with enable
Enable Trigger MyDatabase.MyTable On MyDatabase

Regards
Switin

Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms - Change Colour of Navigation Bar (Page Title For Master-Detail Template)

Xamarin Forms : PopUp Page with RG.Plugins.Popup