mssql_fetch_batch Returns the next batch of records &reftitle.description; intmssql_fetch_batch resourceresult Returns the next batch of records &reftitle.parameters; result The result resource that is being evaluated. This result comes from a call to mssql_query. &reftitle.returnvalues; Returns the batch number as an integer. &reftitle.examples; <function>mssql_fetch_batch</function> Example 0) { while ($arrRow = mssql_fetch_assoc($result)) { // Do stuff ... } $intNumRows = mssql_fetch_batch($result); ?> ]]>