enable/disable trigger via code C#

后端 未结 1 1449
误落风尘
误落风尘 2021-01-17 06:16

Is there any way to enable or disable a SQL SERVER trigger programmatically in C#, or do I have to modify the trigger itself to control whether or not my code invokes it?

相关标签:
1条回答
  • 2021-01-17 06:48

    Execute a DISABLE TRIGGER via a SqlCommand

    0 讨论(0)
提交回复
热议问题