How check that how many stored procedure will affect after deleting one table in SQL [duplicate]
问题 This question already has answers here : Find all references to an object in an SQL Server database (10 answers) Closed 4 years ago . I am using SQL 2012. I have large Database Structure in my project. I have around 10000 Stored Procedure in my Database. I have to delete one table from the database, Is there any way that I can directly check that by deleteting my table how many stored procedure will affect. Any help Will Be appriciated. 回答1: Using sp_depends: EXEC sp_depends @objname = N