Home > PHP > Function > Mssql > mssql_free_statement()

mssql_free_statement()

mssql_free_statement - Free statement memory

Syntax

bool mssql_free_statement (resource $stmt)

Arguments

  • stmt - Statement resource, obtained with mssql_init().

Description

mssql_free_statement() only needs to be called if you are worried about using too much memory while your script is running. All statement memory will automatically be freed when the script ends. You may call mssql_free_statement() with the statement identifier as an argument and the associated statement memory will be freed.

Version

PHP 4.3.2, 5, PECL odbtp >= 1.1.1

Return value

Returns TRUE on success or FALSE on failure.