|
sqlsrv_free_stmt(Информация о версии неизвестна, возможно, только в SVN) sqlsrv_free_stmt — Frees all resources for the specified statement Описание
bool sqlsrv_free_stmt
( resource $stmt
)
Frees all resources for the specified statement. The statement cannot be used after sqlsrv_free_stmt() has been called on it. If sqlsrv_free_stmt() is called on an in-progress statement that alters server state, statement execution is terminated and the statement is rolled back. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
Пример #1 sqlsrv_free_stmt() example
<?php ПримечанияThe main difference between sqlsrv_free_stmt() and sqlsrv_cancel() is that a statement resource cancelled with sqlsrv_cancel() can be re-executed if it was created with sqlsrv_prepare(). A statement resource cancelled with sqlsrv_free_statement() cannot be re-executed. |
|