Advanced T-SQL Querying, Programming, and Tuning for SQL Server 2005, 2008, and 2012
Register before August 1, 2012 using discount code EARLYBIRD and get $300 off!
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 soon-to-be-released SQL Server 2012 in this five-day, intensive course with SQL Server MVP, author, and co-founder of SolidQ, Itzik Ben-Gan.
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, and Inside Microsoft SQL Server 2008: T-SQL Programming. 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 SolidQs’ Advanced T-SQL Querying, Programming, and Tuning and T-SQL Fundamentals courses along with being a primary resource within the company for their T-SQL related activities.
Location: Microtek
Address: 90 Broad St, New York, NY 10004
Get Directions
Area Hotels
Club Quarters Wall Street - from $191/night
52 William Street, New York, NY 10005 [map]
Club Quarters World Trade Center - from $221/night
140 Washington Street, New York, NY 10006 [map]
Club Quarters Midtown - from $221/night
40 West 45th Street, New York, NY 10036 [map]
DoubleTree Financial District - from $229/night
8 Stone Street, New York, NY 10004 [map]
Gild Hall Financial District - from $289/night
15 Gold Street, New York, NY 10038 [map]
Area Restaurants
The Porterhouse at Fraunces Tavern Restaurant
54 Pearl Street, New York, NY 10004 [map]
Sho Shaun Hergatt
40 Broad Street Second Level, New York, NY 10004 [map]
Alfanoose
8 Maiden Lane (between Broadway & Nassau), New York, NY 10038 [map]
Registration: $3300.00 $3600.00 Click here to register now
Save $300 w/code EARLYBIRD
![]()
Data Educaiton accepts Visa, MasterCard, Discover, American Express, PayPal, eCheck, personal & business checks and purchase orders.
Course Time: 9:00 AM - 5:00 PM
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









