sqlany_affected_rows function

Returns the number of rows affected by execution of the prepared statement.

Syntax
sacapi_i32 sqlany_affected_rows( a_sqlany_stmt * stmt )
Parameters
  • stmt    A statement that was prepared and executed successfully in which no result set was returned. For example, an INSERT, UPDATE or DELETE statement was executed.

Returns
  • sacapi_i32   The number of rows affected, or -1 on failure.

See also