search for: nrowsaffect

Displaying 1 result from an estimated 1 matches for "nrowsaffect".

Did you mean: nrowsaffected
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...wCount returns 2516 2516 rows fetched SQL> then I look forward in the source files and I found that both clients (php module and isql) use the same function to get the number of rows: from isql.c : static void WriteFooterNormal( SQLHSTMT hStmt, SQLCHAR *szSepLine, SQLLEN nRows ) { SQLLEN nRowsAffected = -1; printf( (char*)szSepLine ); SQLRowCount( hStmt, &nRowsAffected ); printf( "SQLRowCount returns %d\n", nRowsAffected ); if ( nRows ) { printf( "%d rows fetched\n", nRows ); } } from odbc php module php_odbc.c : /* {{{ proto int odbc_nu...