PDA

View Full Version : Offtopic: select count() vs select *



zeroed
11 Apr 2009, 11:22 AM
Hi,

I've read tutorial about grids and paging component.

http://extjs.com/learn/Tutorial:Basics_of_Paging_With_the_Grid_Component

I have a question.

Why do you use select * instead of select count(*) to get total items count?