Comparing Execution Functions
The Microsoft Drivers for PHP for SQL Server provides several options for executing functions.
SQLSRV Execution Functions
If you are using the SQLSRV driver, use sqlsrv_query to execute a single query and sqlsrv_prepare with sqlsrv_execute to execute a prepared statement multiple times with different parameter values for each execution.
PDO_SQLSRV Execution Functions
If you are using the PDO_SQLSRV driver, you can execute a query with one of the following:
See Also
Programming Guide for the Microsoft Drivers for PHP for SQL Server
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre