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
Maxtor DiamondMax Plus 8 as External Drive
Install Office Pro 2003 and 2007
Iphone doubt - Syncing through iTunes
Issues with Kerberos and Pam Authentication against Active Directory.
Group Policy for FireFox
Upgrading our domain from Server + exchange 2000 to 2003 or later.
Internet connection sharing on peer to peer network
Add page numbers to pdf document
how to run a .bat script in another server?
Temporary ASP.NET files