How do I count the number of rows a stored procedure would return the fastest way. Stored procedure returns rows around 100K to 1M records.
Select @@rowcount:
SELECT @@ROWCOUNT;
After executing the stored procedure.