On 26 October 2010 12:56, AI Rumman <rummandba@xxxxxxxxx> wrote:
Which one is faster?select count(*) from talbleorselect count(id) from tablewhere id is the primary key.
Check the query plan, both queries are the same.
regards
Szymon