Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Common Table Expressions - Advanced

PASS Data Community Summit via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Dive into advanced Common Table Expressions (CTEs) in this 53-minute conference talk from PASS Data Community Summit. Explore recursive queries and hierarchical data display using CTEs. Learn how to perform INSERT, UPDATE, and DELETE operations on CTEs. Discover common use cases including finding pattern holes, removing duplicates, and string parsing. Compare CTEs to SQL Server 2012 offset and fetch paging techniques. Gain in-depth understanding of CTE performance, identifying when to use them effectively. Examine classic recursive algorithms implemented with CTEs. Walk away with practical CTE samples to enhance your T-SQL query skills.

Syllabus

Intro
Technical Assistance
SUMMIT 2015
Advanced Common Table Expressions
Recursion Overview
Recursive Terminology
Demo: Recursive CTE
Recursive Demo
Recursive CTE Notes
Hierarchy with multiple recursive queries is possible
Hierarchy with advanced formatting
Recursive Heirarchy Demo
Manipulating Data
Deleting From a CTE
Inserting to a CTE
Updating a CTE
INSERT, UPDATE, DELETE Notes
CTE Common Use Case 2
CTE Performance Considerations
Nested CTES
Recursive Performance
Deep Recursion
Classic Recursive Algorithms

Taught by

PASS Data Community Summit

Reviews

Start your review of Common Table Expressions - Advanced

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.