keif888 / SQLServerMetadata

SQL Server Metadata Toolkit
Microsoft Public License
82 stars 32 forks source link

Execute SQL task - SQL command from variable built from expression #2

Open keif888 opened 7 years ago

keif888 commented 7 years ago

I've been trying the tool out and I'm quite impressed. I have noticed one thing that doesn't seem to work though - we have some instances where we have an Execute SQL Task which runs a SQL statement from a variable. The variable is constructed using an expression and is thus dynamic. The tables referenced by these statements are not shown as dependencies in the viewer.   Is there a setting that I can change or argument I can specify for the analyzer to try to parse these kinds of statements?