THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

SELECT Hints, Tips, Tricks FROM Hugo Kornelis WHERE RDBMS = 'SQL Server'

How TOP wrecks performance (part 1)

This blog has moved! You can find this content at the following new location:

Published Thursday, November 6, 2014 5:51 PM by Hugo Kornelis

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



SWAT said:

How about with ties and Over & Partition by clause...

November 2, 2015 6:25 AM

Hugo Kornelis said:


WiTH TIES is covered above. OVER and PARTITION BY are, unfortunately, not supported for TOP - they would be a great addition to the options available in T-SQL and I know a lot of people have proposed this to Microsoft - but no luck (so far?)

November 2, 2015 9:28 AM

Leave a Comment


About Hugo Kornelis

Hugo is co-founder and R&D lead of perFact BV, a Dutch company that strives to improve analysis methods and to develop computer-aided tools that will generate completely functional applications from the analysis deliverable. The chosen platform for this development is SQL Server. In his spare time, Hugo likes to visit the SQL Server newsgroups, in order to share and enhance his knowledge of SQL Server.
Privacy Statement