Course Outline

Module 1. Query Tuning for Government

  • Tools for Query Tuning
  • Cached Query Execution Plans
  • Clearing the Cache
  • Analyzing 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 for Government

  • Writing Subqueries
  • Using Table Expressions
  • Using Ranking Functions

Module 3. Optimizing Joins and Set Operations for Government

  • Fundamental Join Types
  • Join Algorithm
  • Set Operations
  • Using INTO with Set Operation

Module 4. Aggregating and Pivoting Data for Government

  • Using the OVER Clause
  • Different types of aggregations (Cumulative, Sliding, and Year-To-Date)
  • Pivoting and Unpivoting
  • Setup Custom Aggregations
  • Using GROUPING SETS Subclause
  • CUBE and ROLLUP Subclauses
  • How to Materialize Grouping Sets

Module 5. Using TOP and APPLY for Government

  • SELECT TOP
  • Using the APPLY Table Operator
  • TOP n at the Group Level
  • Implementing Paging

Module 6. Optimizing Data Transformation for Government

  • Inserting Data with 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 for Government

  • Partitioning in SQL Server
  • How to Write Queries on Partitioned Tables
  • How to Write Queries on Partitioned Views

Requirements

Proficient SQL knowledge in a Microsoft SQL Server 2008/2012 environment for government use.

 14 Hours

Number of participants


Price per participant

Testimonials (5)

Upcoming Courses

Related Categories