PGSQL_GetAffectedRows

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

version 2004


PGSQL_GetAffectedRows (resID; affectedRows) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
affectedRowsLongintNumber of rows affected by query execution
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetAffectedRows command gives the number of rows which have been affected by the last query execution (for example, DELETE sql statement). 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.

affectedRows is a Longint that is returned which corresponds to the number of rows affected by the query execution.


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