I am trying to get an understanding of how I can track when GRANT, REVOKE, DENY statements are issued to SQL Server. I believe that there is a difference in granting access to the server itself and granting access to a database.USE dbNameGO CREATE TRIGGER trigGrantRevokeON DATABASEFOR GRANT, REVOKEAS INSERT INTO AuditTable.dbo.tblTriggers ([Trigger], [CurrentTimeStamp] ) VALUES ( 'GRANT, REVOKE @ ', GETDATE())GO
I can get this to work for the database trigger. How can I make a trigger for the server?Regards