raresql.com
SQL SERVER – How to get total row count from OFFSET / FETCH NEXT (Paging)
Paging became quite simpler & easy to script and manage by using OFFSET & FETCH NEXT keywords in SQL Server 2012 & above. I have written quite a detailed article earlier about it and im…