PHP » GoLang |
login |
register |
about
|
GoLang sqlsrv_rows_affected
request it (446)
GoLang replacement for PHP's sqlsrv_rows_affected
[edit | history]
sqlsrv_rows_affected(No version information available, might only be in Git) sqlsrv_rows_affected — Returns the number of rows modified by the last INSERT, UPDATE, or DELETE query executed Description
int sqlsrv_rows_affected
( resource
$stmt
)Returns the number of rows modified by the last INSERT, UPDATE, or DELETE query executed. For information about the number of rows returned by a SELECT query, see sqlsrv_num_rows(). Parameters
Return Values
Returns the number of rows affected by the last INSERT, UPDATE, or DELETE query.
If no rows were affected, 0 is returned. If the number of affected rows cannot
be determined, -1 is returned. If an error occurred, Examples
Example #1 sqlsrv_rows_affected() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|