What exactly is a Stored procedure hierarchy?
This is where a SP contains within it a cell (vie EXECUTE) to 1 or more other SP's and within those SP's they may call one or more other SP's.
Comments
7 comments
-
Hi @EdCarden
I don't believe we have this feature in the tool, if you'd like to make a feature request please post on the forum here: https://redgate.uservoice.com/forums/94413-sql-prompt
-
DanC said:Hi @EdCarden
I don't believe we have this feature in the tool, if you'd like to make a feature request please post on the forum here: https://redgate.uservoice.com/forums/94413-sql-prompt
-
Hi @EdCarden
I'll be honest I have no idea, I think Stackoverflow would perhaps help for this question!
Sorry I can't be of more help! -
FYI - I ended up answering my own question. I had previously tried to use SSMS's View Dependencies feature but I had selected the wrong option; Objects that Depend on SP_Name. When I switched to Objects on which SP_Name depends it gave me exactly what I was looking for. I'm kind of shocked I didn't see this listed 9in my google search) as a way to get this. Now the question is, who does SSMS's View Dependencies feature do it, what T-SQL does it use; and I am assuming that's how it's doing this.
NOTE: The View Dependencies does not require any permissions that are above the dbo; no server level permissions.
That said it would still be a nice feature to add to SQL Prompt with some addiotnal features/perks like being able to export to Word or even visio, gliffy or other popular diagraming apps. -
SQL Dependency Tracker will do what you want.
-
tslagter said:SQL Dependency Tracker will do what you want.
-
You can query it yourself, but it'll take a little work to get a full tree. These will work with stored procedures as well as tables:
Add comment
Please sign in to leave a comment.