Re: [INTERFACES] row count - Mailing list pgsql-interfaces

From Sergio
Subject Re: [INTERFACES] row count
Date
Msg-id SAK.8.3.1999.ihoohjbi@speedy.perio.unlp.edu.ar
Whole thread Raw
In response to Re: [INTERFACES] row count  (Byron Nikolaidis <byronn@insightdist.com>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Henk Jan Barendregt
Date:
Subject: create tables in empty database (libpq)
Next
From: Ben Gunter
Date:
Subject: Re: Read-only in MSAccess