View Single Post
  #5 (permalink)  
Old 04-17-2008, 02:03 PM
xentek's Avatar
xentek xentek is offline
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

Quote:
Originally Posted by Mark^Bastard View Post
Keep in mind this is only safe if the field you're counting on is 'not null'. Counting on fields skips null values.
Indeed. I should have noted that. I usually count on my primary key, which by design does not hold any null values.
__________________
- xentek
Reply With Quote