List of Oracle views using specific table name List of Oracle views using specific table name oracle oracle

List of Oracle views using specific table name


select     * from     all_dependencieswhere     type='VIEW'    and referenced_name like '%table_name%'    and referenced_type = 'TABLE'


Use this query:

SELECT * FROM all_dependencies WHERE TYPE = 'VIEW'    AND referenced_type = 'TABLE'