Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Trigger Help Expand / Collapse
Author
Message
Posted Tuesday, January 08, 2013 2:04 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 4:09 AM
Points: 1,608, Visits: 359
Hi, I want to create trigger when i fore below code it should keep track of it..

SP_CONFIGURE 'SHOW ADVANCED OPTION',1
RECONFIGURE
go
SP_CONFIGURE 'xp_cmdshell',0
RECONFIGURE
go

I mean when any configuration get changes, a trigger should fired.
Post #1404056
Posted Sunday, January 13, 2013 10:16 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:25 AM
Points: 7,070, Visits: 12,523
SQL Server already keeps track of this in the SQL Error Log. SQL Server adds an entry to the Error Log whenever a server configuration option changes.

What are you trying to accomplish by implementing a trigger? Policy Based Management may be able to help you here if you're trying to prevent someone from enabling or disabling xp_cmdshell.


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1406486
Posted Tuesday, January 15, 2013 11:23 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 4:09 AM
Points: 1,608, Visits: 359
Thank you,
I will check with it.
Post #1407620
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse