in reply to DBI: seeing what's actually executed
Perhaps you could show us a sample of the trace output you are getting? I think I have an idea about the sort of output you might be looking at, based on experience with failed/badly formed queries passed to DBI/DBD::Oracle, and I thought about writing something to parse that into something coherent enough for a human to interpret and use. (But I just haven't got around to that yet.)