Detailed walkthrough for each demo in the full-day training session. Demos are listed in presentation order.
| # | Demo | Module | Source | Time | Machine |
|---|---|---|---|---|---|
| 1 | Native JSON | 2 - Developers | sql2025book | ~10 min | SQL1-Joey |
| 2 | T-SQL Enhancements | 2 - Developers | sql2025book | ~5 min | SQL1-Joey |
| 3 | GitHub Copilot for SQL | 2 - Developers | VS Code / SSMS 22 | ~2 min | Matt-Azure |
| 4 | CES — F1 Race Operations | 2 - Developers | This repo (CES/) |
~15 min | SQL1-Joey |
| 5 | Intelligent Search (Vectors) | 3 - AI Built-In | sql2025book + demos | ~15-20 min | Joey MacBook Pro |
| 6 | Managed Identity & Security | 4 - Security | sql2025book | ~10 min | Laptop-Azure Portal |
| 7 | Optimized Locking | 5 - Performance | sql2025book + demos | ~3 min | SQL1-Joey |
| 8 | Tempdb Resource Governance | 5 - Performance | sql2025book + demos | ~5 min | SQL1-Joey |
| 9 | ABORT_QUERY_EXECUTION | 5 - Performance | demos | ~2 min | SQL1-Joey |
| 10 | AG Reliability & Diagnostics | 6 - Availability | sql2025book | ~10 min | Matt-Azure |
| 11 | AG Tuning | 6 - Availability | sql2025book | ~5 min | Matt-Azure |
| 12 | Azure Arc Integration | 7 - Arc | sql2025book | ~10 min | Joey Surface |
| Total demo time | ~90-100 min |
- Source:
sql2025book— Developers chapter demos - Supplemental:
demos/sqlserver2025/json - Time: ~10 min
Walkthrough:
- Create a table with the new
jsondata type - Insert JSON documents and show automatic validation (invalid JSON is rejected)
- Compare storage size vs.
nvarchar(max)approach - Demonstrate json indexing and query performance
- Use new JSON aggregate functions (
JSON_OBJECTAGG,JSON_ARRAYAGG) - Show
JSON_CONTAINSfor membership testing
Talking point: "Developers have been storing JSON in varchar columns for years — now it's a first-class citizen with validation, binary storage, and dedicated indexing."
- Source:
sql2025book— Developers chapter demos - Time: ~5 min
Walkthrough:
- Show RegEx pattern matching on AdventureWorks data (email validation, phone extraction)
- Demonstrate
||operator,CURRENT_DATE,PRODUCT()aggregate - Quick comparison: old way vs. new way for common patterns
- Source:
demos/sqlserver2025(VS Code / SSMS 22) - Time: ~2 min
Walkthrough:
- Show Copilot generating queries from natural language in VS Code
- Show Copilot explaining an existing complex query
- Show Copilot suggesting optimizations
- Source: This repo —
CES/folder - Time: ~15 min
Prerequisites:
- Azure infrastructure deployed via
CES/infra/Terraform - SQL Server 2025 VM with system-assigned managed identity
- SQL IaaS Agent Extension registered (
az sql vm create) ANTHROPIC_API_KEYenvironment variable set on the VM
SQL Scripts (run in order):
01_create_database.sql— Create F1RaceOps database, enable preview features02_create_tables.sql— Create Drivers, Races, LiveTiming, PitStops, RaceControl tables03_seed_reference_data.sql— Seed 20 F1 drivers and the Monaco Grand Prix race entry04_configure_ces.sql— Create credential, enable CES, create stream group, add tables05_simulate_race.sql— Run section by section while watching the consumer app06_verify_ces.sql— Check CES health and diagnostics07_cleanup.sql— Tear down CES and drop database
Consumer App:
- Start with
dotnet runfrom theCES/folder on the VM - Displays formatted race events: timing updates, pit stops, race control messages, race status changes
- AI-powered race engineer (Claude) detects anomalies (safety car, DNF, penalties, tire degradation) and generates team radio recommendations
- Recommendations sent to Azure Service Bus queue
Demo Flow:
- Show the CES configuration in
04_configure_ces.sql— credential, stream group, table partitioning - Start the consumer app — show it connecting to Event Hubs
- Run
05_simulate_race.sqlsection by section:- Section 1: Lights out — 20 drivers on the grid (burst of INS events)
- Section 2: Early laps — position battles, DRS enabled, track limits warning
- Section 3: Pit window — first stops, tire compound changes, Verstappen stays out
- Section 4: Safety car — Stroll crashes, safety car deployed, free pit stop for Verstappen
- Section 5: Restart — Verstappen passes Leclerc, green flag racing
- Section 6: Late-race drama — penalty for Hamilton, Leclerc on fresh tires, fastest lap
- Section 7: Chequered flag — Verstappen wins Monaco
- Pause between sections to observe events arriving in near real-time
- Point out: INSERTs for new data, old/new values for position changes, race control messages
- Show the AI race engineer triggering on safety car deployment and driver DNF
Talking point: "The pit wall needs to know the instant a rival pits — not 30 seconds later when a polling job runs. CES gives us that push-based, real-time pipeline from the database to the strategy tools."
Cleanup: Run 07_cleanup.sql to tear down CES and drop the database.
- Source:
sql2025book— AI / Vectors chapter demos - Supplemental:
demos/sqlserver2025/ai(four provider integrations) - Time: ~15-20 min
Part 1 — The Problem:
- Show existing search methods (LIKE, Full-Text) against AdventureWorks products
- Search for "lightweight gear for summer hiking" — poor results with keyword search
Part 2 — Model Definition and Embeddings:
- Create an external model definition (Azure OpenAI or Ollama)
- Create a table with a
vectorcolumn - Generate embeddings for product descriptions
Part 3 — Vector Search:
- Run
VECTOR_DISTANCEwith the same natural language prompt - Show dramatically better results
- Demonstrate hybrid search: vector + price/category filters
Part 4 — Multiple Providers (time permitting):
- Show the four different provider integrations from the demos repo (Azure OpenAI, OpenAI, Ollama, ONNX)
Talking point: "AdventureWorks needs better searching — the prompt may contain words not found in your data. That's why vector search matters."
- Source:
sql2025book— Security chapter demos - Time: ~10 min
Walkthrough:
- Managed Identity Demo in Azure Portal
- Show outbound Managed Identity for backup to URL
Talking point: Managed Identity eliminates credential management and reduces attack surface — no passwords to rotate or leak.
- Source:
sql2025book— Core Engine chapter demos - Supplemental:
demos/sqlserver2025/optimizedlocking - Time: ~3 min
Walkthrough:
- Show traditional locking behavior with concurrent updates
- Enable optimized locking
- Re-run the same workload — observe eliminated lock escalation
- Show reduced lock memory consumption via DMVs
- Monitor TID locking in action
Talking point: "Developers need better concurrency and don't want to worry about locking internals."
- Source:
sql2025book— Core Engine chapter demos - Supplemental:
demos/sqlserver2025/tempdb_rg - Time: ~5 min
Walkthrough:
- Configure Resource Governor workload groups with tempdb space limits
- Run a query that attempts to consume excessive tempdb
- Show the query being terminated when it exceeds its allocation
- Discuss use cases: multi-tenant, runaway query protection, shared BI environments
- Source:
demos/sqlserver2025/ABORT_QUERY_EXECUTION - Time: ~2 min
Walkthrough:
- Show the hint in action — set a timeout, run a long query, observe termination
- Source:
sql2025book— Availability chapter demos - Time: ~10 min
Walkthrough:
- Set up or use a pre-configured AG environment
- Walk through the improved health diagnostics DMVs
- Simulate a scenario that previously caused "not synchronizing" state
- Show how SQL 2025 handles it with reliable failover
- Demonstrate ZSTD backup compression: compare backup sizes and speeds vs. legacy
- Show backup to secondary replica configuration
- Source:
sql2025book— Availability chapter demos - Time: ~5 min
Walkthrough:
- Show group commit waiting tuning parameters
- Demonstrate contained AG with DAG configuration
- Walk through the new diagnostics views
- Source:
sql2025book— Arc chapter demos - Time: ~10 min
Walkthrough:
- Show an Arc-connected SQL Server 2025 instance in the Azure Portal
- Walk through Managed Identity configuration
- Demonstrate Entra authentication flow enabled by Arc
- Show Azure Policy enforcement on the SQL instance
- Demonstrate how Arc enables secure AI model access (connect back to Module 3)
- Show Defender for SQL alerts and recommendations