I use the following query to find dependencies on a view
SELECT referenced_entity_name,* FROM
sys.dm_sql_referenced_entities ('dbo.WEB_ANALYSER', 'OBJECT')
This returns tables and views used in the View. I want the above query to only return dependencies that are views
Thanks
1 Answer