Groups | Blog | Home
all groups > sql server (alternate) > february 2004 >

sql server (alternate) : Audit Drop table


karora NO[at]SPAM melstar.com
2/6/2004 12:28:50 AM
We would like to create a audit table for storing information if any
objects like tables / stored procedures are dropped.
Table would also contain information about time and the user name who
has dropped the object.
Any help would be great.

Thanks in advance.
Simon Hayes
2/6/2004 6:45:51 PM

[quoted text, click to view]

One solution would be to create a trace for any SQL commands containing the
word DROP - see sp_trace_create and Profiler in Books Online. Or you could a
third-party audit tool, such as this one:

http://www.lumigent.com/products/entegra/entegra.htm

Simon

AddThis Social Bookmark Button