How do I identify views with broken dependencies in SQL Server?

前端 未结 5 1829
悲哀的现实
悲哀的现实 2021-01-02 01:40

We have a large number of views in an inherited database which some of them are missing dependencies (table or even other views)?

What\'s the best way to identify th

5条回答
  •  没有蜡笔的小新
    2021-01-02 02:45

    If you're using SQL Server 2005 or 2008, you could import the project in to Visual Studio 2008 or 2010 and analyze broken dependencies from the Visual Studio project

提交回复
热议问题