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
Author
Message
Posted Wednesday, March 6, 2013 4:48 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
Dear,
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.

Thanks
Akbar
Post #1427311
Posted Wednesday, March 6, 2013 7:04 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Monday, September 8, 2014 1:14 PM
Points: 91, Visits: 164,592
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 6, 2013 7:57 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 1:30 PM
Points: 12,895, Visits: 32,089
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.

http://www.sqlservercentral.com/Forums/FindPost1426977.aspx




Lowell

--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