Displaying 1 result from an estimated 1 matches for "szseplin".
Did you mean:
szsepline
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...---------------------------------+
SQLRowCount 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 mo...