quick ER diagram from script
austrianfoodispuke
Posts: 100
I'm currently working with an unfamiliar db and would at times be aided by the ability of viewing an ER diagram of the query.
SSMS does not seem to have such functionality, can this be added to prompt?
Would also be good if this could be combined with my 'data sample pop up' suggestion
SSMS does not seem to have such functionality, can this be added to prompt?
Would also be good if this could be combined with my 'data sample pop up' suggestion
Comments
David Atkinson
Product Manager
Red Gate Software
Product Manager
Redgate Software
SELECT ...
FROM tableA A
INNER JOIN tableB B on A.ID = B.ID
LEFT OUTER JOIN tableC C ON C.val = B.val
would show a simple diagram showing 3 tables (no columns) with lines linking A to B, B to C
perhaps also showing the aliases of the tables and the IDs with which they're linked
[I guess you could always extend this so clicking on any table highlights output columns within the text]