r/SQL • • Jun 02 '26

SQL Server Table Dependency

Hi Team

Can you tell let's say we are adding new column in a table and we have to find which stored procedure is using that table how can we find in below :

  1. Sql Server

  2. Sybase

1 Upvotes

13 comments sorted by

View all comments

1

u/VisualExpert_Novalys 25d ago

For SQL Server, you can also look at Visual Expert (full disclosure, we develop it at Novalys).

It can show dependencies at different levels, including between schemas, tables, procedures and functions, right down to references in the code. You can also start from a table and use impact analysis to see what depends on it, directly or indirectly.

Here's an example from the documentation:
https://www.visual-expert.com/EN/visual-expert-documentation/code-cross-references/run-impact-analysis-tree-view-sql-server-tsql.html