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.
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
- 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
- LAB 05A
Module 06: Data Modification
- Inserting Data
- 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
- Transactions and Concurrency
- Exception Handling
- LAB 08A
Module 09: Graphs, Trees and Hierarchies
- Graphs, Described
- Materialized Paths
- Using the HIERARCHYID datatype
- Nested Sets
- Nested Iterations
- Recursive Queries
- LAB 09A
Intended AudienceThis 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.
PrerequisitesIt 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 LearnThis 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.
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.
Address: Your City? 30328
Registration: TBD Click here to request this course
Data Educaiton accepts Visa, MasterCard, Discover, American Express, PayPal, eCheck, personal & business checks and purchase orders.
Course Time: 9:00 AM - 5:00 PM
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:
15 Lincoln Street
Wakefield, MA 01880