Solved

Audit select on a table

Posted on 2004-10-06
6
184 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
  • 2
6 Comments
 
LVL 23

Expert Comment

by:adilkhan
Comment Utility
what if you create a Trigger on that Table and Track the Users ID upon DML.
0
 

Author Comment

by:praimsankar
Comment Utility
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:
adilkhan earned 50 total points
Comment Utility
nope.
only Update, Delete or Update. and I think thats what you wand DML.
I dont think there is another way,
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sql query 7 34
SQL Server RDS clr assembly 4 33
SQL 2012 and SQL 2014 always on 9 23
SQL Server 2016 Developers Edition Install 4 55
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now