October 2011
Intermediate to advanced
688 pages
24h 5m
English
Sergio Govoni
Last November when I was in Seattle for the PASS Summit 2010, Microsoft announced the first public Community Technology Preview (CTP1) of Microsoft SQL Server, code-named “Denali.” In this chapter, I’ll talk about some new features of the T-SQL language:
The ORDER BY clause, used to sort the query result set, has two interesting options in Denali that allow you to simplify the ad hoc paging of a query result set: OFFSET and FETCH. In the following scenario, you can see typical examples.
Here’s the OFFSET option:
OFFSET {integer_constant | offset_row_count_expression} {ROW | ROWS}
This ...
Read now
Unlock full access