Is it possible to write a PL/SQL query to identify a complete list of a stored procedures dependencies? I\'m only interested in identifying other stored procedures and I\'d
Something else worth pointing out here, is that there are certain cases where the dependency may only be at runtime, which unfortunately will not show up in the metadata.
For example, if you are constructing a SQL statement at runtime, you may have code similar to:
...
mysql := 'select count(*) from '||table_name_in;
execute immediate mysql;
...
I've been burnt by this a few times, but there's unfortunately no way to find these types of dependencies in advance since it potentially depends on user input.