Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Auditing User Actions Expand / Collapse
Posted Wednesday, March 06, 2013 4:48 AM


Group: General Forum Members
Last Login: Monday, April 07, 2014 4:55 AM
Points: 175, Visits: 470
I want to see all DML operations performed by a specific computer to track the user activities over database. What can I do for that?

If you have better suggestions, please suggest me.

Please help me to do this.

Post #1427311
Posted Wednesday, March 06, 2013 7:04 AM

SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 27, 2014 5:27 AM
Points: 91, Visits: 160,658
If you have Enterprise (or Developer) edition you could implement Database-Level Action Audit, which includes DML actions. I haven't personally implemented this level of auditing, but I can't see why it wont serve your purpose.

... Then again, I could be totally wrong! Check the answer.
Check out posting guidelines here for faster more precise answers.

I believe in Codd
... and Thinknook is my Chamber of Understanding
Post #1427367
Posted Wednesday, March 06, 2013 7:57 AM



Group: General Forum Members
Last Login: Today @ 2:11 PM
Points: 12,744, Visits: 31,064
you could also consider a server side trace, with a filter on the HOSTNAME property to match the machine you want to watch
the problem with that is it's possible to change the hostname parameter if the user has access to the connection string(see screenshot below) ;

i posted a sample DML trace in this post that you could consider modifying: that trace is watching a specific login, and not machine.


--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1427427
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse