Microsoft
Software
Hardware
Network
Question : Record / Log SQL Queries
I have a database that various people access in various ways, through dedicated apps, through a web based system (SSRS), and through MS sQL Server Management Studio. I need a solution to log the various queries that are run only if they return certain data, such as email address. Something like
Insert SQL Query into user_log table if rows returned are in ('email','address') etc
Can this be done?
Thanks
Mike
Answer : Record / Log SQL Queries
Allow me to repeat myself :-) :
You will have to run a trace. [See my previous comment for filtering of trace.]
If you need help setting up the trace, please let me know.
Random Solutions
Windows Fax and Scan
how to see mails of all users in Exchange server 2007 & Exchange 2003 by an Admin
MySQL php Select rows similar price
"HTTP Error 404.0 - Not Found" in ASP.Net
Jquery
Issue with I.E.6
Mixed date/time display in Excel
Locating next index of a record set and moving to that record after form data is refreshed.
Laptop takes a long time to log-on away from the network
Massage Data From CLI into Array