update : 2015.11.03
php.shukuma.com검색:
|
sqlsrv_execute(No version information available, might only be in Git) sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare() 설명
bool sqlsrv_execute
( resource
$stmt
)Executes a statement prepared with sqlsrv_prepare(). This function is ideal for executing a prepared statement multiple times with different parameter values. 반환값
성공 시 예제
Example #1 sqlsrv_execute() example This example demonstrates how to prepare a statement with sqlsrv_prepare() and re-execute it multiple times (with different parameter values) using sqlsrv_execute().
<?php 주의When you prepare a statement that uses variables as parameters, the variables are bound to the statement. This means that if you update the values of the variables, the next time you execute the statement it will run with updated parameter values. For statements that you plan to execute only once, use sqlsrv_query(). 참고
|