Hey,
This may sound odd, but is there anyway to catch the current or just
run query from inside a trigger? Kinda like how profiler displays the
query just as you've run it, along with all the statistical data...
But I'm just looking to capture the query itself and save it in a
logging table.
I just need to save an executing query in certain circumstances (if
detected an attempted sql injection attack) for logging purposes.
On MS SQL Server 2005
Hope someone can help...
Thanks!
GearĂ³id
This may sound odd, but is there anyway to catch the current or just
run query from inside a trigger? Kinda like how profiler displays the
query just as you've run it, along with all the statistical data...
But I'm just looking to capture the query itself and save it in a
logging table.
I just need to save an executing query in certain circumstances (if
detected an attempted sql injection attack) for logging purposes.
On MS SQL Server 2005
Hope someone can help...
Thanks!
GearĂ³id
Comment