PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mssql_free_statement> <mssql_field_type
Last updated: Fri, 05 Sep 2008

view this page in

mssql_free_result

(PHP 4, PHP 5, PECL odbtp:1.1.1-1.1.4)

mssql_free_result結果保持用メモリを解放する

説明

bool mssql_free_result ( resource $result )

スクリプト実行時のメモリ使用量が過大であると懸念される場合のみ mssql_free_result() はコールするべきです。 全ての結果保持用メモリはスクリプト実行終了時に自動的に解放されます。 引数に結果 ID を指定して mssql_free_result() を コールすることが可能です。 この場合、関連する結果保持用メモリが解放されます。

パラメータ

result

処理対象となる結果リソース。これは mssql_query() のコールによって取得します。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
mssql_free_result
veggivore [at] yahoo [period] com
06-Sep-2006 06:21
MSSQL only allows one HRESULT open per connection. If you have a query with a server side cursor open any subsequent queries using that connection will fail.

mssql_free_statement> <mssql_field_type
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites