Find broken objects in SQL Server

前端 未结 11 481
孤独总比滥情好
孤独总比滥情好 2020-12-02 17:26

Is there a tool that will find all objects in SQL Server (functions, procs, views) that cannot possibly work because they refer to objects that don\'t exist?

11条回答
  •  有刺的猬
    2020-12-02 17:54

    Red Gate Software's SQL Prompt 5 has a Find Invalid Objects feature that might be useful in this situation. The tool goes through the database finding objects that will give an error when executed, which sounds exactly what you want.

    You can download a 14-day trial for free, so you can give it a try and see if it helps.

    Paul Stephenson
    SQL Prompt Project Manager
    Red Gate Software

提交回复
热议问题