Product Cover Image

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

By Itzik Ben-Gan

Published by Microsoft Press

Published Date: Apr 15, 2012

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

  • Foreword
  • Introduction
  • Chapter 1: SQL Windowing
  • Chapter 2: A Detailed Look at Window Functions
  • Chapter 3: Ordered Set Functions
  • Chapter 4: Optimization of Window Functions
  • Chapter 5: T-SQL Solutions Using Window Functions

Purchase Info

ISBN-10: 0-7356-5836-6

ISBN-13: 978-0-7356-5836-3

Format: Book

$36.99 | Free Ground Shipping.

Add to Cart

Digital Choices ?

MyLab & Mastering with Pearson eText is a complete digital substitute for a print value pack at a lower price.

eTextbook ?

With CourseSmart eTextbooks and eResources, you save up to 60% off the price of new print textbooks, and can switch between studying online or offline to suit your needs.

Once you have purchased your eTextbooks and added them to your CourseSmart bookshelf, you can access them anytime, anywhere.