version 2004
PGSQL_GetRowCount (resID; rowCount) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| rowCount | Longint | Number of rows in the result set | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetRowCount command gives the number of rows present in the result set (for example, following a SQL SELECT statement) returned by PGSQL_Execute. It returns an error code (Longint) where 0 means no error.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
rowCount is a Longint that is returned which corresponds to the number of rows in the result set.