0 pts.
 how to understand the flow showplan_text stmt
hai everybody, desperately i need to understand the execution plan and flow of joins or any other queries using 'set showplan_text on'. i am getting the output, but the iam not getting the flow i.e. which part is executed first, from bottom or up [ how to read the lines which are sepearted by ||...] in which joins are executed.. so many.. can anyone show me some light FOR EG: |--Nested Loops(Left Outer Join, OUTER REFERENCES:([c].[DEPARTMENTID])) |--Table Scan(OBJECT:([sample].[dbo].[GRADE] AS [c])) |--Nested Loops(Inner Join) |--Table Scan(OBJECT:([sample].[dbo].[employee] AS [A]), WHERE:([A].[departmentid]=[c].[DEPARTMENTID])) |--Table Scan(OBJECT:([sample].[dbo].[department] AS [B]), WHERE:([B].[departmentid]=[c].[DEPARTMENTID]))

Software/Hardware used:
ASKED: April 19, 2006  10:38 AM
UPDATED: September 20, 2008  11:30 PM

Answer Wiki:
It should start at the bottom. It is much easier to read the execution plans if you display them in graphical mode.
Last Wiki Answer Submitted:  September 20, 2008  11:30 pm  by  Denny Cherry   64,520 pts.
All Answer Wiki Contributors:  Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _