update : 2015.11.03
php.shukuma.com검색:
|
sqlsrv_cancel(No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 설명
bool sqlsrv_cancel
( resource
$stmt
)Cancels a statement. Any results associated with the statement that have not been consumed are deleted. After sqlsrv_cancel() has been called, the specified statement can be re-executed if it was created with sqlsrv_prepare(). Calling sqlsrv_cancel() is not necessary if all the results associated with the statement have been consumed. 인수
반환값
성공 시 예제
Example #1 sqlsrv_cancel() example
<?php 주의The main difference between sqlsrv_cancel() and sqlsrv_free_stmt() 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. 참고
|