orite | Is it possible to write a PL/SQL query/procedure to identify a complete list of a stored procedures dependencies? I'm only interested in identifying other stored procedures and I'd prefer not to limit the depth of nesting that it gets too either. For example, if A calls B, which calls C, which calls D, I'd want B, C and D reported as dependencies for A. |
Loading
Karthik GPosted May 5, 2016, 4:34 AM
Atul KumarPosted May 5, 2016, 3:45 AM
VIEW DEFINITIONis required to allow the user to see information insys.sql_expression_dependencies; object-levelVIEW DEFINITIONandSELECTon the DMV will not work (you will receive an empty result set)"Karthik GPosted May 5, 2016, 3:36 AM
Karthik GPosted May 5, 2016, 3:34 AM
Atul KumarPosted May 5, 2016, 3:20 AM
Karthik GPosted May 5, 2016, 3:14 AM
Atul KumarPosted May 5, 2016, 2:30 AM
FROM sys.dm_sql_referencing_entities ('MyStoreProcedure', 'OBJECT');