From: Sergio <ser@perio.unlp.edu.ar>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] row count
Date: Mon, 8 Mar 1999 18:46:00 -0300
Message-ID: <SAK.8.3.1999.ihoohjbi@speedy.perio.unlp.edu.ar> (raw)
In-Reply-To: <36E3DE56.AE9FC94F@insightdist.com>
Byron Nikolaidis <byronn@insightdist.com> el día Mon, 08 Mar 1999 09:27:34
-0500, escribió:
>
>
>Sergio wrote:
>
>> Byron,
>>
>> How I can know the number of rows in the set after a _select_
>> (ie SQLRowCount isn't valid here) statement using ODBC ?
>>
>>
>
>Actually, it is valid, and will return the number of rows in the result
>set, but only if you are *NOT* using the "Declare/Fetch" option of the
>driver.
Very good information, thanks.
Now suppose that I don't know if the user is using declare/fetch,
I have another option ?
Sergio
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-interfaces@postgresql.org
Cc: ser@perio.unlp.edu.ar
Subject: Re: [INTERFACES] row count
In-Reply-To: <SAK.8.3.1999.ihoohjbi@speedy.perio.unlp.edu.ar>
References: <36E3DE56.AE9FC94F@insightdist.com> <SAK.8.3.1999.ihoohjbi@speedy.perio.unlp.edu.ar>
* 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