Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 security issue

Author  Topic 

gavis
Starting Member

39 Posts

Posted - 2009-09-25 : 08:26:34
hi

we had a security issue on one of our database, is it possible to find out what query was executed also what time and by which user,

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-25 : 16:45:06
If you had a trace running at the time, then yes. Otherwise you'll need to use a third-party tool to read your transaction log if you are using FULL or BULK_LOGGED recovery models.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -