How can we help you today? How can we help you today?

objects used in dynamic sql

It would be nice if objects used in dynamic sql inside other objects (fx a dynamic sql string inside a stored procedure) would be listed in the dependency lists.
mulmad
0

Comments

1 comment

  • Brian Donahue
    Hello,

    Indeed, this is something for us to look at. It doesn't appear that Dependency Tracker looks inside quoted strings for dependent objects, ie
    declare @sql varchar(50)
    SET @sql='SELECT * from MyTable'
    exec sp_executesql @sql
    
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.