T-SQL Worth Knowing

T-SQL Worth Knowing

Write Clean T-SQL Queries and Stored ProceduresBy Ingrid Pereira
Michael Caine
Listen with Sir Michael Caine™ and 1,000+ voices
Length7h 52m

About this audiobook

T-SQL stored procedures and SQL Server window functions. Are you a database developer or data analyst who wants to write T-SQL code that is both powerful and maintainable? Do you need to master stored procedures, CTEs, and window functions to handle complex queries with confidence? T-SQL Worth Knowing is the hands-on guide that takes you from beginner to pro, showing you the patterns that make SQL Server code readable, fast, and production-ready. In this practical book, Ingrid Pereira demystifies advanced T-SQL features and teaches you how to apply them in real-world scenarios. You'll learn to write efficient stored procedures that reduce network traffic and improve security, use Common Table Expressions (CTEs) to break down intricate logic into manageable steps, and harness window functions for ranking, running totals, and moving averages without self-joins. Each chapter includes clear explanations, annotated code examples, and exercises that reinforce key concepts. You'll discover how to optimize query performance with indexing strategies, avoid common pitfalls like parameter sniffing and implicit conversions, and design database objects that scale. By the end, you'll be able to tackle any SQL challenge—from reporting to ETL—with elegance and speed. Unlike generic SQL books that teach only basics or focus on a single dialect, this book is laser-focused on T-SQL for SQL Server, covering version-specific features like STRING_AGG, LEAD/LAG, and ROW_NUMBER. It bridges the gap between theory and practice, giving you reusable patterns for pagination, hierarchical queries, and dynamic pivots. If you've tried Practical SQL, 2nd Edition by Anthony DeBarros or SQL in 10 Minutes a Day, Sams Teach Yourself by Ben Forta and wanted deeper T-SQL coverage, this book is your next step. It's the missing manual for developers who write SQL every day and want to level up. What you'll learn: Write robust stored procedures with error handling and transactions Use CTEs and recursive queries to simplify hierarchical data Apply window functions for analytics without subqueries Optimize query performance with indexes and execution plans Design readable code that your team will thank you for Stop wrestling with slow, tangled queries. T-SQL Worth Knowing gives you the techniques and confidence to write SQL Server code that works—and works well. Scroll up and click Buy Now to start writing better T-SQL today.

Audiobook details

GenreTechnology
Length7 hrs 52 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
LanguageEnglish

Table of contents

1Introduction
2Preface
3Chapter 1 — Setting the Stage: The CycleWorks Project
4Chapter 2 — Foundations of Relational Database Design
5Chapter 3 — DDL in Action: Creating and Modifying Tables
Show all chapters
6Chapter 4 — Retrieving Data: SELECT Queries and Filtering
7Chapter 5 — Aggregating Data: GROUP BY and HAVING
8Chapter 6 — Subqueries and Derived Tables
9Chapter 7 — Common Table Expressions (CTEs): Elegant Queries
10Chapter 8 — Temporary Tables and Table Variables
11Chapter 9 — Stored Procedures: Encapsulating Logic
12Chapter 10 — Parameters and Dynamic SQL
13Chapter 11 — Control Flow: IF, WHILE, and Error Handling
14Chapter 12 — Cursors: Row-by-Row Processing When Needed
15Chapter 13 — Indexing Strategies for Performance
16Chapter 14 — Advanced Optimization: Query Tuning and Statistics
17Chapter 15 — Permissions and Security
18Chapter 16 — Transactions and Concurrency Control
19Chapter 17 — Deployment and Automation
20Chapter 18 — Looking Ahead: Maintenance and Beyond
21About the Author
Hands of Time
Hands of TimeRebecca Struthers8h 8m4.4 (1.3K)$26 · $0.00
Never Lost Again
Never Lost AgainBill Kilday10h 1m4.4 (805)$29 · $0.00
How the Internet Happened
How the Internet HappenedBrian McCullough13h 28m4.3 (2.7K)$23 · $0.00
Collected Writings of Nikola Tesla
Collected Writings of Nikola TeslaNikola Tesla, Thomas Commerford Martin21h 50m4.3 (1.7K)$1 · $0.00
Just Aspire
Just AspireAjai Chowdhry9h 13m4.4 (260)$29 · $0.00
The Little Book of Aliens
The Little Book of AliensAdam Frank8h 20m4.3 (1.3K)$26 · $0.00
The inventions, researches and writings of Nikola Tesla (Annotated)
The inventions, researches and writings of Nikola Tesla (Annotated)Thomas Commerford Martin16h 59m4.3 (1.3K)$2 · $0.00
Kargil
KargilV.P. Malik15h 18m4.3 (2K)$24 · $0.00
Experiments with Alternating Currents
Experiments with Alternating CurrentsNikola Tesla9h 6m4.3 (874)$1 · $0.00
Fire on the Horizon
Fire on the HorizonTom Shroder, John Konrad8h 23m4.3 (858)$26 · $0.00
The Smell of Kerosene (Annotated)
The Smell of Kerosene (Annotated)National Aeronautics and Space Administration, Donald L. Mallick, Peter W. Merlin11h 32m4.3 (523)$2 · $0.00
The Boy Who Harnessed the Wind
The Boy Who Harnessed the WindWilliam Kamkwamba, Bryan Mealer10h 5m4.2 (78.9K)$29 · $0.00
Across the Airless Wilds
Across the Airless WildsEarl Swift10h 8m4.3 (1.3K)$29 · $0.00
Console Wars
Console WarsBlake J. Harris20h 41m4.2 (13.7K)$46 · $0.00
Improvised Munitions Handbook
Improvised Munitions HandbookU.S. Department of Defense4h 49m4.3 (1.6K)$1.99 · $0.00
Escaping Gravity
Escaping GravityLori Garver10h 54m4.2 (2.2K)$20 · $0.00
Wireless Wars
Wireless WarsJonathan Pelson8h 2m4.3 (418)$20 · $0.00
Let There Be Water
Let There Be WaterSeth M. Siegel8h 36m4.2 (2.3K)$20 · $0.00
The Perfectionists
The PerfectionistsSimon Winchester11h 46m4.2 (9.9K)$29 · $0.00
Rethinking Narcissism
Rethinking NarcissismDr. Craig Malkin6h 7m4.2 (3.4K)$24 · $0.00

You may also like

Google It
Google ItAnna Crowley Redding4h 18m4.0 (711)$15
NMLS STUDY GUIDE 2026/2027
NMLS STUDY GUIDE 2026/2027Adrian Hartwell11h 55m$11.50 · $0.00
Affiliate Marketing: The Ultimate Guide to Starting Your Online Business (Affiliate Marketing Explained Affiliate Marketing Course Affiliate Marketing Strategies)
Affiliate Marketing: The Ultimate Guide to Starting Your Online Business (Affiliate Marketing Explained Affiliate Marketing Course Affiliate Marketing Strategies)William Ramsey3h 25m$3.50 · $0.00
AI Money Machine
AI Money MachineSara Melo1h 31m$1.80 · $0.00
The Systems Engine
The Systems EngineBradley J Sugars1h 54m3.9 (115)Free
Concurrent Python with asyncio
Concurrent Python with asyncioLena Iqbal7h 45m$5 · $0.00
ChatGPT for Architects
ChatGPT for ArchitectsAdrian Lucas2h 43m$4 · $0.00
LEICA Q3 43 MASTERY GUIDE
LEICA Q3 43 MASTERY GUIDEMichael J. Frame20h 28m$11.50 · $0.00
Polyglotpython:
Polyglotpython:Jimmy L. De Mello1h 41m$30 · $0.00
Social Media Marketing Boost
Social Media Marketing BoostFernando Moreira0m1.0 (1)$7 · $0.00
ISO/IEC 38500: A pocket guide, second edition
ISO/IEC 38500: A pocket guide, second editionAlan Calder46m$14 · $0.00
The Future Of Enterprise AI
The Future Of Enterprise AIJasper Livingstone5h 42m$11.50 · $0.00
The New Roaring Twenties
The New Roaring TwentiesPaul Zane Pilzer8h 40m4.2 (25)$20 · $0.00
Email Marketing: The Ultimate Guide to Building an Email List Asset (How to Compel Your Subscribers to Open Your Emails and Take Action Now)
Email Marketing: The Ultimate Guide to Building an Email List Asset (How to Compel Your Subscribers to Open Your Emails and Take Action Now)Howard Steward1h$3.50 · $0.00
Artificial Intelligence for Web Development
Artificial Intelligence for Web DevelopmentJaxen Holt, Nadia Valentine4h 5m$6
AI for Financial Analysis
AI for Financial AnalysisRenata Holloway8h 5m$5 · $0.00
AWS from Zero to Production
AWS from Zero to ProductionLena Kessler7h 52m$5 · $0.00
Navigating the IMX
Navigating the IMXIsla L. Gallagher4h 23m$4.10 · $0.00
The Start-up Founder's Guide to Digital Marketing
The Start-up Founder's Guide to Digital MarketingPramod Maloo8h 17m4.6 (27)$20 · $0.00
Millionaire ChatGPT
Millionaire ChatGPTSara Melo1h 53m$1.80 · $0.00