Book description
Apply powerful window functions in T-SQL—and increase the performance and speed of your queries
Optimize your queries—and obtain simple and elegant solutions to a variety of problems—using window functions in Transact-SQL. Led by T-SQL expert Itzik Ben-Gan, you’ll learn how to apply calculations against sets of rows in a flexible, clear, and efficient manner. Ideal whether you’re a database administrator or developer, this practical guide demonstrates ways to use more than a dozen T-SQL querying solutions to address common business tasks.
Discover how to:
Go beyond traditional query approaches to express set calculations more efficiently
Delve into ordered set functions such as rank, distribution, and offset
Implement hypothetical set and inverse distribution functions in standard SQL
Use strategies for improving sequencing, paging, filtering, and pivoting
Increase query speed using partitioning, ordering, and coverage indexing
Apply new optimization iterators such as Window Spool
Handle common issues such as running totals, intervals, medians, and gaps
Table of contents
- Microsoft® SQL Server® 2012 High-Performance T-SQL Using Window Functions
- Dedication
- Foreword
- Introduction
- 1. SQL Windowing
- 2. A Detailed Look at Window Functions
- 3. Ordered Set Functions
- 4. Optimization of Window Functions
- 5. T-SQL Solutions Using Window Functions
- Index
- About the Author
- Copyright
Product information
- Title: Microsoft® SQL Server® 2012 High-Performance T-SQL Using Window Functions
- Author(s):
- Release date: April 2012
- Publisher(s): Microsoft Press
- ISBN: 9780735671591
You might also like
book
T-SQL Querying
T-SQL insiders help you tackle your toughest queries and query-tuning problems Squeeze maximum performance and efficiency …
book
Exam Ref AZ-900: Microsoft Azure Fundamentals, First Edition
Prepare for Microsoft Exam AZ-900–and help demonstrate your real-world mastery of cloud services and how they …
book
Microsoft® SQL Server® 2012 T-SQL Fundamentals
Gain a solid understanding of T-SQL—and write better queries Master the fundamentals of Transact-SQL—and develop your …
book
SQL Server 2019 Administration Inside Out
Conquer SQL Server 2019 administration–from the inside out Dive into SQL Server 2019 administration–and really put …