Results 1 to 2 of 2
  1. #1
    froggyface88 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2014
    Posts
    4

    What does Count(*) mean??


    I'm teaching myself how to use access, and came across the phrase "count(*)" in my searching. I can't google the phrase, since the asterisk acts as a wildcard. Can someone please tell me what the count(*) phrase does?

    Thanks!

  2. #2
    edmscan is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Quote Originally Posted by froggyface88 View Post
    I'm teaching myself how to use access, and came across the phrase "count(*)" in my searching. I can't google the phrase, since the asterisk acts as a wildcard. Can someone please tell me what the count(*) phrase does?

    Thanks!
    Count(*) is used just really to count the number of appropriate records as compared to Count([FieldName]) .. which counts the number of occurrences of that field. But performance wise .. Count(*) is faster.

    Here is a better explanation ... but really it is basically used to count things. http://www.w3schools.com/sql/sql_func_count.asp

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Count is returning the wrong count.
    By khughes46 in forum Reports
    Replies: 2
    Last Post: 05-26-2014, 12:46 PM
  2. Replies: 2
    Last Post: 04-15-2014, 01:59 PM
  3. COUNT Group Count Records COUNT FUNCTION
    By PMCOFFEY in forum Access
    Replies: 9
    Last Post: 11-09-2012, 09:40 PM
  4. Count if (where?)
    By jvlajcic in forum Queries
    Replies: 1
    Last Post: 12-14-2011, 03:09 PM
  5. Sum the Count
    By Adele in forum Queries
    Replies: 5
    Last Post: 07-26-2011, 06:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums