db2_free_stmt

(PECL ibm_db2 >= 1.0.0)

db2_free_stmt Frees resources associated with the indicated statement resource

说明

db2_free_stmt ( resource $stmt ) : bool

Frees the system and database resources that are associated with a statement resource. These resources are freed implicitly when a script finishes, but you can call db2_free_stmt() to explicitly free the statement resources before the end of the script.

参数

stmt

A valid statement resource.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

相关文章
php ibm db2 函数 binds a php variable to an sql statement parameterphp ibm db2 函数 returns a result set listing the columns and associated privileges for a tablephp ibm db2 函数 returns a result set listing the columns and associated metadata for a tablephp ibm db2 函数 returns the cursor type used by a statement resourcephp ibm db2 函数 executes an sql statement directlyphp ibm db2 函数 executes a prepared sql statementphp ibm db2 函数 returns the precision of the indicated column in a result setphp ibm db2 函数 returns the scale of the indicated column in a result setphp ibm db2 函数 returns the data type of the indicated column in a result setphp ibm db2 函数 frees resources associated with a result setphp ibm db2 函数 frees resources associated with the indicated statement resourcephp ibm db2 函数 retrieves an option value for a statement resource or a connection resourcephp ibm db2 函数 returns the number of rows affected by an sql statementphp ibm db2 函数 prepares an sql statement to be executedphp ibm db2 函数 set options for connection or statement resourcesphp ibm db2 函数 returns a string containing the sqlstate returned by an sql statementphp ibm db2 函数 returns a string containing the last sql statement error messagephp ibm db2 函数 returns a result set listing the tables and associated privileges in a databasephp ibm db2 函数 returns a result set listing the tables and associated metadata in a databasephp sqlsrv 函数 frees all resources for the specified statement
关注编程学问公众号