SQL Training

Advanced T-SQL Querying, Programming, and Tuning for SQL Server 2005, 2008, and 2012

Early-bird price of $3,400 until April 30! Enter EARLYBIRD at registration for discount.

This course was developed by Itzik Ben-Gan, a mentor and one of the founders of SolidQ, Microsoft MVP, author of several books about T-SQL, a columnist in SQL Server Magazine, and a regular speaker at SQL Server related events.

Isn’t it about time you mastered the ins and outs of T-SQL? Learn how to efficiently and effectively implement T-SQL in SQL Server 2005, SQL Server 2008, and the newly released SQL Server 2012 in this five-day, intensive course with SQL Server MVP, author, and co-founder of SolidQ, Itzik Ben-Gan.

Lunch, snacks/coffee, and courseware booklets are included.

Register

TBD

Instructor: Itzik Ben-Gan

Dates: TBD

Location: Your City?

Course Detail PDF Download of: Advanced T-SQL Querying, Programming, and Tuning for SQL Server 2005, 2008, and 2012

Download the course details for yourself or your employer!

Module 01: Logical Query Processing

  • Logical Query Processing Order
  • Logical Query Processing Example
  • Phase Details
  • Set Operations

Module 02: Query Tuning

  • Internals and Index Tuning
  • Temporary Tables
  • Sets vs. Cursors
  • Query Tuning with Query Revisions

Module 03: Multi-Table Queries, Ranking, and Offset Functions

  • Subqueries and Table Expressions
  • Window Ranking and Offset Functions
  • Joins
  • Set Operators
  • LAB 03A

Module 04: Aggregating and Pivoting Data

  • Window Aggregate Functions
  • Pivoting and Unpivoting Data
  • Custom Aggregations
  • Grouping Sets
  • LAB 04A

Module 05: TOP, OFFSET-FETCH, APPLY

  • TOP and OFFSET-FETCH
  • APPLY
  • LAB 05A

Module 06: Data Modification

  • Inserting Data
  • Sequences
  • Deleting Data
  • Updating Data
  • Merging Data
  • The OUTPUT Clause
  • LAB 06A

Module 07: Working with Date and Time

  • Date and Time Datatypes
  • Data and Time Functions
  • Data and Time Challenges
  • Data and Time Querying Problems
  • LAB 07A

Module 08: Programmable Objects

  • Dynamic SQL
  • Views and Inline Table Functions
  • User Defined Functions
  • Stored Procedures
  • Triggers
  • Transactions and Concurrency
  • Exception Handling
  • LAB 08A

Module 09: Graphs, Trees and Hierarchies

  • Graphs, Described
  • Materialized Paths
    • Custom
    • Using the HIERARCHYID datatype
  • Nested Sets
  • Nested Iterations
    • Loops
    • Recursive Queries
  • LAB 09A

Intended Audience

This course is geared toward SQL Server professionals interested in knowing how to bring their queries to the next level, in SQL Server 2005, 2008, and now 2012. Course will focus on advanced T-SQL techniques intended to promote better query creation and tuning, data maintenance, and developing efficient user-defined functions and stored procedures.

Prerequisites

It is recommended that attendees are SQL Server DBAs or developers with at least one year of T-SQL querying and programming experience.

What You Will Learn

This course focuses on writing and tuning queries and programming with T-SQL in SQL Server 2005, 2008, and 2012. In this course you will learn the details and capabilities of T-SQL in the following areas: Logical Query Processing; Query Tuning; Subqueries, Window Ranking and Offset Functions, Joins and Set Operations; Aggregating and Pivoting Data; Window Aggregate Functions; TOP, OFFSET-FETCH, and APPLY; Data Modification; Working with Date and Time; Programmable Objects (Dynamic SQL, Views, User Defined Functions, Stored Procedures, Triggers, Transactions and Concurrency, Exception Handling); Graphs, Trees, and Hierarchies.
 
During the course, you will learn how to use T-SQL to solve practical problems such as: Relational Division, Ranking and Offsets, Missing and Existing Values (Gaps and Island), Separating Elements, Running Totals, Pivoting and Unpivoting, Custom Aggregations, Dynamic Analysis of Grouping Sets, TOP and OFFSET-FETCH Problems, Top N Per Group, Paging, Aggregate over Columns, Data De-Duplication, Handling Sequences, Treatment of Temporal Intervals (Overlaps, Max Concurrent, Packing), Dynamic Filtering, and more.
 
Furthermore, you will learn how to tune your queries; how to develop efficient routines including user-defined functions, stored procedures, and triggers; work in multi-user environments with transactions and isolation levels; and use dynamic SQL securely and efficiently.
 
You will also learn how to maintain and query hierarchical data. You will learn what graphs, trees, and hierarchies are; the common requests against graphs; and how to write T-SQL code to handle those requests. Several different solutions will be presented including: enumerated paths, nested sets, nested iterations using recursive queries, and the HIERARCHYID datatype.
 
The course provides a dedicated module focusing on query tuning. The module covers internals and index tuning, index access methods, temporary tables, set vs. cursors, and query tuning using query revisions. Moreover, query tuning is at the heart of this course and is incorporated throughout the different modules. With each querying/programming problem, the discussions will revolve around logical aspects, set-based vs. procedural programming, and optimization of the solutions.

Instructor Bio:

Itzik Ben-Gan

Itzik Ben-Gan is a mentor and co-founder of SolidQ. A SQL Server Microsoft MVP (Most Valuable Professional) since 1999, Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning, and Programming.

Itzik is the author of several books including Microsoft SQL Server 2008: T-SQL Fundamentals, Inside Microsoft SQL Server 2008: T-SQL Querying, Inside Microsoft SQL Server 2008: T-SQL Programming, and the recently published Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions and Microsoft SQL Server 2012 T-SQL Fundamentals. He has written many articles for SQL Server Magazine as well as articles and whitepapers for MSDN.

Itzik’s speaking activities include TechEd, DevWeek, SQLPASS, SQL Server Magazine Connections, various user groups around the world, and SolidQ’s events, to name a few. Itzik is the author of SolidQ's Advanced T-SQL Querying, Programming, and Tuning and T-SQL Fundamentals courses, along with being a primary resource within the company for its T-SQL related activities.

Location:
Address: Your City? 30328
Get Directions

Area Hotels

Embassy Suites Atlanta - Perimeter Center - Ask for the special MicroTek rate of $134/night (king or double queen room).
1030 Crown Pointe Parkway, Atlanta, Georgia 30338 [map]

Courtyard Atlanta Perimeter Center - Ask for the special MicroTek rate of $132/night (king room).
6250 Peachtree Dunwoody Rd., Atlanta, Georgia 30328 [map]

Comfort Suites Perimeter Center - Ask for the special MicroTek rate of $89/night (king or double queen room).
6110 Peachtree Dunwoody Rd., Atlanta, GA 30328 [map]

Area Restaurants

Tilted Kilt Pub & Eatery
1155-B Mt. Vernon Hwy., Atlanta, GA 30338 [map]

Trattoria 141
9810 Medlock Bridge Rd., Suite A. Johns Creek, GA 30097 [map]

Happy Sumo
1155-A Mount Vernon Hwy., Atlanta, GA 30338 [map]

Registration: TBD Click here to request this course

Visa, MasterCard, Discover, American Express, PayPal, eCheck, Check, Purchase Order

Data Educaiton accepts Visa, MasterCard, Discover, American Express, PayPal, eCheck, personal & business checks and purchase orders.

Course Dates: TBD (5 Days)
Course Time: 9:00 AM - 5:00 PM
Course Detail PDF Download of: Advanced T-SQL Querying, Programming, and Tuning for SQL Server 2005, 2008, and 2012 Download the full course details in a convenient PDF

Using a Purchase Order or Check?

If a purchase order is required for invoice, please send us the P.O. number using our contact form. Be sure to indicate the course title and attendee name(s) in your message.

We accept personal and business checks for course registrations up to 15 business days before the start date of the desired course. If paying by check, remember that it can take up to 5 business days to arrive at our office through postal mail depending on your location. Please include a note telling us the course title and attendee name(s), and make your check payable to:

Data Education
15 Lincoln Street
Suite 226
Wakefield, MA 01880

Refund & Cancellation Policy

If Data Education cancels the course, you will receive a 100% refund. Registration is fully transferable to a course of the same or lesser value within one year’s time of the initial course. If you cancel your registration with more than 30 days notice, Data Education will refund the fee minus $250 for processing. If you cancel your registration with between 16 and 30 days notice, Data Education will refund 75% of the fee. If you cancel your registration with between 7 and 15 days notice, Data Education will refund 50% of the fee. Cancellations unfortunately will not be allowed as of 6 days before the beginning of the course.