Solved

Audit select on a table

Posted on 2004-10-06
6
220 Views
Last Modified: 2008-03-06
I need to know who acceses a salary table.
I want audit any dml on that table.
Can this be done? If so, how do I do it?
Thanks
0
Comment
Question by:praimsankar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 12241705
what if you create a Trigger on that Table and Track the Users ID upon DML.
0
 

Author Comment

by:praimsankar
ID: 12247752
Is it possible to create a trigger on a 'SELECT'  event ??
I was looking for a better answer than a what if.
 
0
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 50 total points
ID: 12255838
nope.
only Update, Delete or Update. and I think thats what you wand DML.
I dont think there is another way,
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
point in time restore in SQL server 26 45
Copy data to New Year 9 33
SQL works but want to get the XML node data separately 11 30
Need multiple Group By's 8 28
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question