Query: mssql_rows_affected
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MSSQL_ROWS_AFFECTED(3) MSSQL_ROWS_AFFECTED(3) mssql_rows_affected - Returns the number of records affected by the querySYNOPSISint mssql_rows_affected (resource $link_identifier)DESCRIPTIONReturns the number of records affected by the last write query.PARAMETERSo $link_identifier - A MS SQL link identifier, returned by mssql_connect(3) or mssql_pconnect(3).RETURN VALUESReturns the number of records affected by last operation.EXAMPLESExample #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_select_db(3) - php |
| mssql_fetch_object(3) - php |
| mysql_affected_rows(3) - php |
| msql_query(3) - php |
| mssql_num_fields(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Rules for Homework & Coursework Questions Forum |
| Forum Video Tutorial: How to Use Code Tags |
| Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
| Status of UNIX.COM Forum Transformation |