Quantcast
Channel: Sunday morning T-SQL » with ties
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using TOP n WITH TIES

Here’s an interesting feature to that may greatly simplifie a few queries. TOP n WITH TIES works pretty much like TOP, except it orders the top records “densely” to include tied values. A regular TOP...

View Article



Image may be NSFW.
Clik here to view.

Segment and Sequence Project

For windowed functions, SQL Server introduces two new operators in the execution plan; Segment and Sequence Project. If you’ve tried looking them up in the documentation, you’ll know that it’s not...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images