int sasql_affected_rows( sasql_conn $conn )
Returns the number of rows affected by the last SQL statement. This function is typically used for INSERT, UPDATE, or DELETE statements. For SELECT statements, use the sasql_num_rows function.
$conn The connection resource returned by a connect function.
The number of rows affected.