|
sqlsrv_prepare(Информация о версии неизвестна, возможно, только в SVN) sqlsrv_prepare — Prepares a query for execution ОписаниеPrepares a query for execution. This function is ideal for preparing a query that will be executed multiple times with different parameter values. Список параметров
Возвращаемые значенияReturns a statement resource on success and FALSE if an error occurred. Примеры
Пример #1 sqlsrv_prepare() 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(). Смотрите также
|
|||||||||||||||||||||||