Explain Plan with Package Returns ORA-03113 end-of-file on communication channel
I need to get the estimated row count a query will return so I can request more criteria from the user to further restrict their search criteria.
So I put in 'execute immediate 'explain plan set statement_id = 'xyz' for select ...'
When I use the procedure from this package, I get ORA-03113: end-of-file communication channel error.
Anyone has a work around for this? Thanks
Almaz