how does sql count work?

Posted by ria on Stack Overflow See other posts from Stack Overflow or by ria
Published on 2010-06-15T12:01:21Z Indexed on 2010/06/15 12:12 UTC
Read the original article Hit count: 215

Filed under:

I would like to understand how exactly does sql count work. Is it a whole table scan that happens or is it some property of the table that is read. However I feel a table scan would be an overhead in case of huge tables with lots of records.

© Stack Overflow or respective owner

Related posts about sql