Get in Touch

Course Outline

Module 1. Query Tuning

  • Essential tools for optimizing queries
  • Utilizing cached query execution plans
  • Techniques for clearing the cache
  • In-depth analysis of execution plans
  • Application of query hints
  • Leveraging the Database Engine Tuning Advisor
  • Strategies for index tuning
  • Understanding table and index structures
  • Various index access methods
  • Developing effective indexing strategies

Module 2. Subqueries, Table Expressions, and Ranking Functions

  • Constructing complex subqueries
  • Effective use of table expressions
  • Application of ranking functions

Module 3. Optimizing Joins and Set Operations

  • Foundations of join types
  • Understanding join algorithms
  • Working with set operations
  • Implementing INTO with set operations

Module 4. Aggregating and Pivoting Data

  • Mastery of the OVER clause
  • Exploring aggregation types (Cumulative, Sliding, and Year-To-Date)
  • Techniques for pivoting and unpivoting data
  • Configuring custom aggregations
  • Utilizing the GROUPING SETS subclause
  • Application of CUBE and ROLLUP subclauses
  • Methods for materializing Grouping Sets

Module 5. Using TOP and APPLY

  • Implementing SELECT TOP
  • Using the APPLY table operator
  • Applying TOP n at the group level
  • Strategies for implementing paging

Module 6. Optimizing Data Transformation

  • Inserting data using the Enhanced VALUES clause
  • Leveraging the BULK Rowset Provider
  • Utilizing INSERT EXEC
  • Understanding sequence mechanisms
  • Executing DELETE with joins
  • Performing UPDATE with joins
  • Application of the MERGE statement
  • Using the OUTPUT clause with INSERT
  • Using the OUTPUT clause with DELETE
  • Using the OUTPUT clause with UPDATE
  • Using the OUTPUT clause with MERGE

Module 7. Querying Partitioned Tables

  • Concepts of partitioning in SQL Server
  • Writing efficient queries on partitioned tables
  • Constructing queries for partitioned views

Requirements

A solid foundation of SQL knowledge within the Microsoft SQL Server 2008 or 2012 platform is required.

 14 Hours

Testimonials (4)

Related Categories