pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aguinaldo Fagundes Junior <Aguinaldo.Fagundes@vantcom.net>
To: pgsql-php@postgresql.org
Subject: Select count
Date: Mon, 6 Nov 2000 12:38:46 -0300
Message-ID: <35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1> (raw)

Hi there!

I could not find in documentation, how I can get the result from a query
using select "count(*)". Today I use a "select * " and after using
pg_numrows and it woks but I want to know:Is there any other way to get this
result?

Thanks in advance.



view thread (2+ messages)

Message-ID: <35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1>
Permalink:  ../35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1/
Also on:    postgresql.org/message-id/35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: Aguinaldo.Fagundes@vantcom.net
  Subject: Re: Select count
  In-Reply-To: <35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1>
  References: <35DE6A7B82C8D3119B3B00508B8B7A49FA85B2@PAENTMS1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox