Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server-2008
I am using Microsoft SQL Server 2008 R2. In my server there are some Database. Now some body has deleted 2 database of them. Now i want to find him/her.
 
Is there any system to trace it?
 
Thanks in advance
 
Rashed
Posted 14-Oct-12 23:05pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

u can use following query
 
SELECT DATABASEPROPERTYEX('master', 'Status')
GO
 
 
Also please follow following link may it could help..
 
http://www.mssqltips.com/sqlservertip/1037/system-information-in-sql-server-2000-vs-sql-server-2005/[^]
  Permalink  
Comments
Marcus Kramer at 17-Oct-12 17:00pm
   
How does any of this tell him who deleted a database?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Write click on database...
Reports>Standard Report> Schema Change History
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Write click on database...Reports>Standard Report> Schema Change History
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 295
1 DamithSL 295
2 Sergey Alexandrovich Kryukov 197
3 Peter Leow 155
4 Afzaal Ahmad Zeeshan 154
0 OriginalGriff 7,510
1 DamithSL 5,494
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 22 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100