Search code examples
sql-serversql-server-2005auditauditingddl-trigger

SQL Server 2005 Change Auditing


Is there a built in way in SQL Server 2005 to audit things specifically like deleting a stored procedure? Is there a history table that I can query? We have a mystery sproc that has disappeared a few times now.


Solution

  • You can build this using DDL triggers:

    http://msdn.microsoft.com/en-us/library/ms190989.aspx