I’m a new developer trying to add new functionality to an old project. The new code I’m trying to implement involves database tables, so I’m looking for the procedure that is called to update or originally populate the table.
But there’s over 50 procedures.
Short of opening every procedure manually and using CTRL+F to search for the term I’m looking for, is there an easier way to scan stored procedures for a search term?
If you use SQL Server Management Studio, you can right-click on the table and select “Show dependencies” (My Management Studio is in German…I don’t know if it’s exactly called “Show dependencies” in English).
A screen will pop up where you can view all objects that are dependent from this table.
If stored procedures are listed, it means that they use this table.