PGSQL_GetRowCount

4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next

version 2004


PGSQL_GetRowCount (resID; rowCount) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
rowCountLongintNumber of rows in the result set
Function resultLongintError 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.


4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next