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
Solved

Audit select on a table

Posted on 2004-10-06
6
210 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: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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Activity Monitor detail 2 23
Stored Proc - Rewrite 42 55
Transact SQL - Frequency of Length of Distinct Values 3 22
sql server query 18 33
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

792 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