Stopping bad SQL
I'm running statspack against a 9.2.0.8 database, and it shows a bad query hitting my database. I know how to fix the query. The problem is that the developers, in their morass of source code, can't find where in the application that the query is coming from. Is there a way I can help them find this problem query? Like, raise an exception or kill the session?
0