Can we disable a server level trigger on a single database.

I created a trigger on server to capture the database roles. I want to capture the database roles on all the server but not on a database called "AAA". Can we do that ???

more ▼

asked Jan 10, 2017 at 09:12 PM in Default

avatar image

11 1 1 3

Forgive me, just to clarify you created a server level trigger to track database role events? Can you post your code by chance?

Jan 11, 2017 at 09:23 PM JohnM

code was too long Sorry, I don't know how to post that here in comment as its too long in Characters

Jan 11, 2017 at 11:38 PM sunilsql4

Try using pastebin.com or something similar and then post a link back to it.

Jan 12, 2017 at 01:28 PM JohnM
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jan 10, 2017 at 09:12 PM

Seen: 67 times

Last Updated: Jan 12, 2017 at 01:28 PM

Copyright 2018 Redgate Software. Privacy Policy