[Prev] [Next] [Top] [Bottom] [Contents] (36 out of 193)

SaGetAffectedRowCount

Returns the affected row count for the last executed object binding.

Synopsis

#include "WorkingDialog.h"

int SaGetAffectedRowCount();

Arguments

None.

Return Values

An integer representing the rows affected by the last request from the database.

Description

SaGetAffectedRowCount returns the last affected row count for an object binding and works for all DSQL Objects including those that perform Select, Insert, Update and Delete.

It also returns the number of rows selected in a query for a Stored Procedure. Its value is not valid for Insert, Update and Delete.

Depending upon its use, SaGetAffectedRowCount returns the number of rows selected in the last select statement for Sybase Stored Procedures which have multiple result groups.

See Also


[Prev] [Next] [Top] [Bottom] [Contents] (36 out of 193)