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
size of listbox html
secure folders in outlook 2007
How does PHP use the COM Object and what is it and what does it mean.
how to add user local profile with connect computer wizard, SBS 2008
VBA - Pause after SetFocus
Internet does not work in regular mode ... Works in safemode
hard drive making clicking noises
I need a program that will encrypt a folder over the network on a server
What new geospatial features are in SQL 2008 R2 but not in SQL 2008
retrieving data from protected hard drive