Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rights needed to drop a trigger and restore it.
Message
General information
Forum:
Microsoft SQL Server
Category:
Security
Miscellaneous
Thread ID:
01200883
Message ID:
01201166
Views:
19
>The db_ddladmin role rights should be enough to drop a trigger.
>You don't have to drop triggers but can disable them.
>-- Disable all triggers
>ALTER TABLE tablename DISABLE TRIGGER ALL
>...
>ALTER TABLE tablename ENABLE TRIGGER ALL
>-- specific trigger
>ALTER TABLE tablename DISABLE TRIGGER triggername
>...
>ALTER TABLE tablename ENABLE TRIGGER triggername
>
I switched over to your idea. Thanks.

It worked better when I changed the server in the app.config. For the longest time I was pointing to Prod, and making all kinds of changes in dev.

Bad Steve!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform