Επεξεργασία

Κοινή χρήση μέσω


Using directional parameters

Download PHP driver

When using the PDO_SQLSRV driver, you can use PDOStatement::bindParam to specify input and output parameters.

The topics in this section describe how to use directional parameters when calling stored procedures using the SQLSRV driver.

In this section

Article Description
How to: Specify Parameter Direction Using the SQLSRV Driver Demonstrates how to specify parameter direction when calling a stored procedure.
How to: Retrieve Output Parameters Using the SQLSRV Driver Demonstrates how to call a stored procedure with an output parameter and how to retrieve its value.
How to: Retrieve Input and Output Parameters Using the SQLSRV Driver Demonstrates how to call a stored procedure with an input/output parameter and how to retrieve its value.

See also

Retrieving Data
Updating Data (Microsoft Drivers for PHP for SQL Server)