Skip to Content
Microsoft® SQL Server® 2012 High-Performance T-SQL Using Window Functions
book

Microsoft® SQL Server® 2012 High-Performance T-SQL Using Window Functions

by Itzik Ben-Gan
April 2012
Intermediate to advanced
244 pages
6h 33m
English
Microsoft Press

Overview

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

  • Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.
    Start your free trial

    You might also like

    Inside Microsoft® SQL Server® 2008: T-SQL Programming

    Inside Microsoft® SQL Server® 2008: T-SQL Programming

    Dejan Sarka Itzik Ben-Gan Greg Low, Roger Wolter, Ed Katibah, and Isaac Kunen
    Microsoft® SQL Server 2012 Unleashed

    Microsoft® SQL Server 2012 Unleashed

    Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein

    Publisher Resources

    ISBN: 9780735671591Purchase book