displaying the count(*)

Results 1 to 3 of 3

Thread: displaying the count(*)

  1. #1
    alf Guest

    Default displaying the count(*)

    How can I display the result of:<BR><BR>select count(*) from table_name <BR><BR>on screen?

  2. #2
    Join Date
    Dec 1969

    Default RE: displaying the count(*)

    you need to modify your statement to something like this:<BR>select count(ID) as CountID from table<BR>or<BR>select count(*) as CountX from table<BR><BR>then call CountID as you would any other record.<BR><BR>response.write objRecordset("CountID")<BR><BR>

  3. #3
    alf Guest

    Default RE: displaying the count(*)

    THANK YOU! my head was starting to hurt from banging it off the wall!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts