Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: Wednesday, January 20, 2016 8:34 PM
Points: 225, Visits: 609
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: Saturday, January 10, 2015 9:54 AM
Points: 91, Visits: 164,988
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: Today @ 5:21 AM
Points: 13,970, Visits: 36,242
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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1427427
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse