Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Comparing Execution Functions

SQL Server 2008 R2

The Microsoft Drivers for PHP for SQL Server provides several options for executing 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.

If you are using the PDO_SQLSRV driver, you can execute a query with one of the following:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.