Here is another popular lab from Hands-On-Lab library: SQL Server Showplan Operator – Part 2.
Operators describe how SQL Server executes a query or a Data Manipulation Language (DML) statement. The query optimizer uses operators to build a query plan to create the result specified in the query, or to perform the operation specified in the DML statement. The query plan is a tree consisting of physical operators. We can view the query plan by using the SET SHOWPLAN statements, the graphical execution plan options in SQL Server Management Studio, or the SQL Server Profiler ShowPlan event classes. Operators are classified as logical and physical operators. In the first exercise of this lab we will explore sort and spool ShowPlan operator. In the second exercise we will look into parallel execution plan and in the third and final exercise we will look into sequence project, concatenation, constant scan, assert show plan operators.
Exercise 1: SORT and SPOOL Show Plan Operators
Exercise 2: Parallel Execution Plan
Exercise 3: SEQUENCE PROJECT, CONCATENATION, CONSTANT SCAN and ASSERT Show Plan Operators
SQLMaestros Hands-On-Labs enables the practical way of learning. Each lab document consists of multiple exercises and each exercise consists of multiple tasks. Apart from step-by-step instructions, the HOL document contains images, explanations, observations, notes, tips & tricks to ensure a great learning experience. With each lab, you can practice a specific concept step-by-step. With our HOL documents, you will get hands-on with hundreds of topics in SQL Server & Microsoft Data Platform. Learn More.