Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Get total count before getting a subset from numbered results

$
0
0
I am returning a subset of search results (based on row_number()) but although I'm returning only, let's say, 10 rows, I need to also return the total count (grand total) that the search criteria would return.  Another team has the same requirement,

Viewing all articles
Browse latest Browse all 3145

Trending Articles