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
Dropdown box background-color not working only on Safari on MAC
reccomend hardward for home use hyper-v
Persistent error on windows2000 server
Does Windows 7 built-in connectivity provide a comparable level of security to the existing VPN setup?
SQL Connection error
How to down grade Windows Server 2008 Entprise Ed 64 Bit OEM to
Question about garbage collection - Which object is elligable for GC
Load XML file into sqlserver 2008 Database using c# : 26366040
new features in windows 2003 than windows 2000
mysql upgrade 4.1 to 5.1