mssql_rows_affected(3) php man page | unix.com

Man Page: mssql_rows_affected

Operating Environment: php

Section: 3

MSSQL_ROWS_AFFECTED(3)													    MSSQL_ROWS_AFFECTED(3)

mssql_rows_affected - Returns the number of records affected by the query

SYNOPSIS
int mssql_rows_affected (resource $link_identifier)
DESCRIPTION
Returns the number of records affected by the last write query.
PARAMETERS
o $link_identifier - A MS SQL link identifier, returned by mssql_connect(3) or mssql_pconnect(3).
RETURN VALUES
Returns the number of records affected by last operation.
EXAMPLES
Example #1 mssql_rows_affected(3) example <?php // Delete all rows in a table mssql_query('TRUNCATE TABLE [php].[dbo].[persons]'); echo 'Deleted ' . mssql_rows_affected($link) . ' row(s)'; ?> PHP Documentation Group MSSQL_ROWS_AFFECTED(3)
Related Man Pages
mssql_next_result(3) - php
fbsql_affected_rows(3) - php
mssql_close(3) - php
mssql_fetch_assoc(3) - php
mssql_num_fields(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update