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

how to get total count from outer query cursor

$
0
0
I have a cursor where it has select query
select col1,col2,col3 from table
where col1 is not null
group bycol1,col2,col3

I need a count of the query so that i can use it in inner query, How to get the count form the abouve query? nee

Viewing all articles
Browse latest Browse all 3145

Trending Articles