Reputation: 13
Is there any difference performance-wise betweenselect sum(1) from Products
and select count(1) from Products
?
Upvotes: 1
Views: 1655
Reputation: 1334
Both took same time on a very large table and when ran them together....came out with each having 50% cost:
Upvotes: 1