Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Paperback)
暫譯: Microsoft SQL Server 2012 高效能 T-SQL 使用視窗函數

Itzik Ben-Gan

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

在 T-SQL 中應用強大的視窗函數——提升查詢的性能和速度

優化您的查詢——並使用 Transact-SQL 中的視窗函數獲得簡單而優雅的解決方案來解決各種問題。在 T-SQL 專家 Itzik Ben-Gan 的指導下,您將學會如何以靈活、清晰和高效的方式對一組行進行計算。無論您是資料庫管理員還是開發人員,這本實用指南展示了如何使用超過十種 T-SQL 查詢解決方案來應對常見的商業任務。

發現如何:


  • 超越傳統查詢方法,更有效地表達集合計算

  • 深入了解有序集合函數,如排名、分佈和偏移

  • 在標準 SQL 中實現假設集合和反向分佈函數

  • 使用策略改善排序、分頁、過濾和樞紐分析

  • 通過分區、排序和覆蓋索引提高查詢速度

  • 應用新的優化迭代器,如 Window Spool

  • 處理常見問題,如累計總和、區間、中位數和間隙