Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: DBI: Identify schema objects for a statement

by rdfield (Priest)
on Aug 29, 2007 at 11:09 UTC ( [id://635768] : note . print w/replies, xml ) Need Help??


in reply to DBI: Identify schema objects for a statement

Use $dbh->do("explain plan ... $sql") and query the plan table for the objects. Or if the code has already executed you should be able to find the data in v$sql_plan

rdfield