Is there a simple way to get the row count of the results of an aggregate query. e.g. @@rowcount. I have a complex query and don't really care about the actual results. Expecting 40m+ matches.
k
Kishore G
06/09/2023, 6:04 AM
count(*)
p
Peter Pringle
06/09/2023, 6:07 AM
I cannot nest select count(*) from (select key, max(val) from ... group by key ... )
m
Mayank
06/10/2023, 5:00 PM
Do you mean group count? That’s the same as count distinct on group by column