Determine which user deleted a SQL Server database? -
I have a SQL Server 2005 database that has been deleted, and I have to figure out who removed it Is there a way to get this username?
Thanks, Magic Andy
If deleted or very little If the activity is not done, the out-the-box trace may be of help try:
DECLARE @ path varchar (256) SELECTtra path = path from sys.traces where id = 1 SELECT * fn_trace_gettable (@ path, 1)
[In addition to the out-the-box trace, there is also a less famous black box trace, which is useful for diagnosing intermittent server crashes . This post shows you how to configure it.]
Comments
Post a Comment