how to check what all SQL's runs inside a package/package body
Hi,
Application team came with an issue, that there was a stored procedure "PUBLIC_PKG_CUST_RETRIEVESUB.GET_CUST_HIST_DATA" is getting timed out. it is taking more then 30 sec to execute which it should not take. i need to tune this. But i want to first know what SQL's is running inside this stored procedure. once i came to know about the specific SQL_ID, then i will check whether plan_hash_value was changed or not. but having stored procedure how can i move ahead?
PUBLIC_PKG_CUST_RETRIEVESUB -- this is the package
GET_CUST_HIST_DATA --- this is the stored procedure.