Updating data (Microsoft Drivers for PHP for SQL Server)

Download PHP driver

The articles in this section address how to update data in a database by examining common use cases.

The steps for using the Microsoft Drivers for PHP for SQL Server to update data in a database can be summarized as follows:

  1. Define a Transact-SQL query that does an insert, update, or delete operation.
  2. Update parameter values for parameterized queries.
  3. Execute the Transact-SQL queries with the updated parameter values (if applicable). For more information about executing a query, see Comparing Execution Functions.

In this section

Article Description
How to: Perform Parameterized Queries Describes how to perform parameterized queries.
How to: Send Data as a Stream Describes how to stream data to the server.
How to: Perform Transactions Describes how to use sqlsrv functions with transactions.

See also

Example Application (SQLSRV Driver)
Programming Guide for the Microsoft Drivers for PHP for SQL Server