Get in Touch

Course Outline

Module 1: Query Tuning

  • Tools for query tuning
  • Cached query execution plans
  • Clearing the cache
  • Analysing execution plans
  • Hints
  • Using the Database Engine Tuning Advisor
  • Index tuning
  • Table and index structures
  • Index access methods
  • Indexing strategies

Module 2: Subqueries, Table Expressions, and Ranking Functions

  • Writing subqueries
  • Using table expressions
  • Using ranking functions

Module 3: Optimising Joins and Set Operations

  • Fundamental join types
  • Join algorithms
  • Set operations
  • Using INTO with set operations

Module 4: Aggregating and Pivoting Data

  • Using the OVER clause
  • Different types of aggregations (cumulative, sliding, and year-to-date)
  • Pivoting and unpivoting
  • Setting up custom aggregations
  • Using the GROUPING SETS subclause
  • CUBE and ROLLUP subclauses
  • How to materialise grouping sets

Module 5: Using TOP and APPLY

  • SELECT TOP
  • Using the APPLY table operator
  • TOP n at the group level
  • Implementing paging

Module 6: Optimising Data Transformation

  • Inserting data with the enhanced VALUES clause
  • Using the BULK rowset provider
  • Using INSERT EXEC
  • The sequence mechanisms
  • DELETE with joins
  • UPDATE with joins
  • MERGE statement
  • The OUTPUT clause with INSERT
  • The OUTPUT clause with DELETE
  • The OUTPUT clause with UPDATE
  • The OUTPUT clause with MERGE

Module 7: Querying Partitioned Tables

  • Partitioning in SQL Server
  • How to write queries on partitioned tables
  • How to write queries on partitioned views

Requirements

A solid understanding of SQL within the Microsoft SQL Server 2008/2012 environment.

 14 Hours

Number of participants


Price per participant

Testimonials (3)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories