?
Solved

Audit select on a table

Posted on 2004-10-06
6
Medium Priority
?
228 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 200 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

777 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