Returns the number of rows affected by execution of the prepared statement.
sqlany_affected_rows ( $stmt )
$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 a scalar value that is the number of rows affected, or -1 on failure.
affected = api.sqlany_affected( stmt ) |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |