title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|
Updating data |
Here's a set of sample code snippets for common use cases where you need to update data in PHP. |
David-Engel |
davidengel |
03/26/2018 |
sql |
connectivity |
conceptual |
[!INCLUDEDriver_PHP_Download]
The articles in this section address how to update data in a database by examining common use cases.
The steps for using the [!INCLUDEssDriverPHP] to update data in a database can be summarized as follows:
- Define a Transact-SQL query that does an insert, update, or delete operation.
- Update parameter values for parameterized queries.
- Execute the Transact-SQL queries with the updated parameter values (if applicable). For more information about executing a query, see Comparing Execution Functions.
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. |
Example Application (SQLSRV Driver)
Programming Guide for the Microsoft Drivers for PHP for SQL Server