I found a post about new paging stynax in SQL Server 2012. Like
SELECT p.ProductName
FROM Products p
ORDER BY p.ProductID
OFFSET 10 ROWS
FETCH NEXT 10 ROWS ONLY
That was great. But when I look into Execution Plan, the cost is 100%. Does it mean the SELECT statement will fetch all rows and then do the paing? which will cause a performance issue?
I am new to SQL Server, can anyone tell me about this? thanks.