|
sqlsrv_num_rowsRetrieves the number of rows in a result set 説明
mixed sqlsrv_num_rows(resource
$stmt )Retrieves the number of rows in a result set. This function requires that the statement resource be created with a static or keyset cursor. For more information, see sqlsrv_query, sqlsrv_prepare, or » Specifying a Cursor Type and Selecting Rows in the Microsoft SQLSRV documentation. パラメータ
戻り値
Returns the number of rows retrieved on success and 例
例1 sqlsrv_num_rows example
参考
|