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
What is the impact of recreating an OU certifier on current users?
Steps to convert Access 2000 to Access 2010
How many lines are used on NBX when forwarding a call to an external number?
Using wildcards to refer to a filename in a macro
Redondant PSU for hp switch
Search onLoad events in entire organization
How to move the Outlook 2007/2010 .OST file into separate partition ?
Hibernate mapping files
Hardware Interrupt and CPU
Vmware esxi License