⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/posts $

December 2010

1 total

1 total

OFFSET FETCH - Limiting Result Set in MSSQL

"OFFSET FETCH" is a filter that allows skipping a certain number of rows in the result set. For example: select field1, field2, field3 from table1 order by field1, field2 offset 100 rows fetch next 50 rows only; This example will return rows from 101 to 150, from all rows sorted by field1 and field2.

17 views 0 comments 0 likes ./Read →