Get 40% off print & eBooks in Web Development, Machine Learning & Python >>

Expert T-SQL Window Functions in SQL Server

Authors: Kellenberger, Kathi, Groom, Clayton

Download source code
  • Expert T-SQL Window Functions in SQL Server helps you write fantastically better performing queries by replacing slow cursors and self-joins with newly-introduced window functions.

Buy this book

eBook $19.99
price for Brazil (gross)
  • ISBN 978-1-4842-1103-8
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for Brazil
  • ISBN 978-1-4842-1104-5
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions.

First introduced in SQL Server 2005, window functions came into full blossom with SQL Server 2012. They truly are one of the most notable developments in SQL in a decade, and every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Begin using windowing functions like ROW_NUMBER and LAG, and you will discover more ways to use them every day. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your queries will run faster, they will be easier to write, and they will be easier to deconstruct and maintain and enhance in the future.

Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server explains clearly how to get the best performance. The book also covers the rare cases when older techniques are the best bet. Stop using cursors and self-joins to solve complicated queries. Become a T-SQL expert by mastering windowing functions.

  • Teaches you how to use all the window functions introduced in 2005 and 2012.
  • Provides real-world examples that you can experiment with in your own database.
  • Explains how to get the best performance when using windowing functions.

About the authors

strongKathi Kellenberger/strong is a consultant with Linchpin People. She enjoys writing and speaking on SQL Server topics, having written over two dozen articles, contributed to four books, and presented at many SQL Server events. In her spare time, Kathi enjoys spending time with family and friends, singing and cycling.

Table of contents (9 chapters)

  • Looking Through the Window

    Kellenberger, Kathi (et al.)

    Pages 1-16

  • Discovering Ranking Functions

    Kellenberger, Kathi (et al.)

    Pages 17-31

  • Summarizing with Window Aggregates

    Kellenberger, Kathi (et al.)

    Pages 33-45

  • Tuning for Better Performance

    Kellenberger, Kathi (et al.)

    Pages 47-60

  • Calculating Running and Moving Aggregates

    Kellenberger, Kathi (et al.)

    Pages 61-70

Buy this book

eBook $19.99
price for Brazil (gross)
  • ISBN 978-1-4842-1103-8
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for Brazil
  • ISBN 978-1-4842-1104-5
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Expert T-SQL Window Functions in SQL Server
Authors
Copyright
2015
Publisher
Apress
Copyright Holder
Kathi Kellenberger and Clayton Groom
eBook ISBN
978-1-4842-1103-8
DOI
10.1007/978-1-4842-1103-8
Softcover ISBN
978-1-4842-1104-5
Edition Number
1
Number of Pages
XVII, 152
Number of Illustrations and Tables
91 b/w illustrations
Topics