How to: View the Dependencies of a Stored Procedure (SQL Server Management Studio)
This topic describes how to view the dependencies of a stored procedure by using Object Explorer in SQL Server Management Studio.
Before you modify, rename, or delete a stored procedure, it is important to know what objects depend on the stored procedure. For example, changing the name or definition of a stored procedure can cause dependent objects to fail if the dependent objects are not updated to reflect the changes that have been made to the stored procedure.
To view the dependencies of a stored procedure
In Object Explorer, connect to an instance of Database Engine, and then expand that instance.
Expand Databases, expand the database in which the stored procedure belongs, and then expand Programmability.
Expand Stored Procedures, right-click the procedure, and then click View Dependencies.
View the list of objects that depend on the stored procedure.
View the list of objects on which the stored procedure depends.
Click OK.
See Also