Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference) 1st Edition

4.5 out of 5 stars 17 customer reviews
ISBN-13: 978-0735658363
ISBN-10: 0735658366
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Trade in your item
Get a $3.36
Gift Card.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$18.34 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$36.99 On clicking this link, a new layer will be open
More Buying Choices
27 New from $21.16 20 Used from $14.00
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Security
ITPro.TV Video Training
Take advantage of IT courses online anywhere, anytime with ITPro.TV. Learn more.
$36.99 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference)
  • +
  • Microsoft SQL Server 2012 T-SQL Fundamentals (Developer Reference)
  • +
  • T-SQL Querying (Developer Reference)
Total price: $132.76
Buy the selected items together

Editorial Reviews

About the Author

Itzik Ben-Gan is a principal mentor and a founder of SolidQ. A Microsoft MVP for SQL Server since 1999, Itzik teaches and consults internationally on T-SQL querying, programming, and query tuning. He has written numerous articles for SQL Server Magazine and MSDN, and speaks at industry events such as Microsoft TechEd, DevWeek, PASS, and SQL Server Connections.

NO_CONTENT_IN_FEATURE

The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Series: Developer Reference
  • Paperback: 244 pages
  • Publisher: Microsoft Press; 1 edition (April 25, 2012)
  • Language: English
  • ISBN-10: 0735658366
  • ISBN-13: 978-0735658363
  • Product Dimensions: 7.2 x 0.6 x 8.9 inches
  • Shipping Weight: 13.6 ounces (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #245,989 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Paperback Verified Purchase
This book is a refreshing alternative to the usual 900 page everything-and-the-kitchen sink tomes that seem to dominate this genre.

Instead, it is focused and concise (200+ pages). And extremely well-written, by someone who clearly takes his teaching role seriously. Beyond just describing how to use the window functions, it does a great job of delving into the background needed to really understand how & why they work as they do.

In addition to describing SQL Server 2012 support for window functions, the book also details those areas in which full support for standard SQL window functions has not yet been implemented in SQL Server. It also suggests improvements that could be made to both the standard and to MS SQL.

Whenever possible, the book gives alternative queries constructed without the use of window functions. This is great as both a learning tool, and to convince you that in general you don't really want to go that route (non-window) if at all possible.

If you want to learn both the subtleties and quotidian uses of SQL window functions, get this book. Your brain will light up with new possibilities.

(If it helps credibility-wise, check out my mostly negative review of the same author's "Inside Microsoft SQL Server 2005: T-SQL Programming"--I am the proud holder of the "Most Helpful Critical Review" honor for that title. Ben-Gan's lucidity has increased considerably with this current effort.)
Comment 23 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
One of the good "Cheat" book I came across. Yes, I agree with many that there is no doubt Itzik Ben-Gan is one of the great T-SQL experts in the industry. Initially I thought many of the functions he described cannot be used in OLTP model. Very quickly I realized I was wrong to some extent, I had to identify duplicate entries and Islands and the queries were right there. But I think I will stick to my Original Comment - the book is very specific for certain window function as the title suggests which are - ranking, distribution, ordering, getting ranges, gaps, island, duplicates, running totals, packing intervals, aggregates and finally optimizing them. Ofcourse that's what the title suggest (Window Functions..) and is very well concised in 200 odd pages when compared to 900 or so in other books. Actually I was expecting - to know different alternatives for creating such functions, which I did not find much. There is a mention of CLR, but one should be good with .NET coding. My final conclusion would be go for the book in case you have to deal a lot with analytical type of coding. This is the book, where we can simply use the proven logic.
Comment 15 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Since I actually used the sample chapters to solve a problem with updating all duplicate rows except the first duplicate in a set of duplicates I thought I should break down and buy the book. I consider it somewhat of a brain twister and will use this to further my query expertise. I am one of those DBA's that has so many instances to manage that I rarely ever get to do any coding for many years now. I am hoping this helps bring back some, and develope new, skills. I also decided to get the fundamentals book and will switch between the 2.
For now i will give this 5 stars but I still think it could be made simpler and more practical for us 'regular' users. I will say the accuracy of the book and samples seems pretty good so far which is nice since it can be annoying when you run into samples you are trying to learn from that don't work in some articles by other authors I have read. This authors material and books seem very accurate.
I wonder if regular expressions would be useful with these functions?
Comment 2 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
The book has proven invaluable on the job in a current project.
I had used 'window' functions in the past; however, I truly did not have a real understanding of what 'result set' I was working with. And, as correctly stated, performance was 'blazing' now that the use of a 'window' function is known to be using the current result set. While probably not a 'nugget' for SQL experts, just realizing that proved a real 'tip'...

I have used other books by the author and found his instructional style quite pleasing to deal with considering the 'complexity' of how one 'should' think when dealing with SQL.
Comment 2 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Kindle Edition Verified Purchase
The book started off great explaining Window Functions; however I felt that there were certain parts that the author could have left out. For example, he went over some functionality that wasn't available in SQL SERVER; where I was hoping he would focus primarily with what was currently available. Overall, it's a good book; I'm definitely going to have to read it again.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Let's take a look at this: You're required to Rank all Items Sold this year ("Rank all items") by Sales ($), and on the same data set, rank them within their respective categories ("Rank within rank").

Ok, you can probably code this in a couple of minutes. I see that you can achieve this by CTE's and Subqueries, etc.

But you can achieve the same result in fewer lines of code using Window Functions. And, you'll make your DBA very happy with the performance gained from using Window Functions.

I think you should read this book.
Comment 2 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference)