Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.59 KB

updating-data-microsoft-drivers-for-php-for-sql-server.md

File metadata and controls

34 lines (26 loc) · 1.59 KB
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

Updating data (Microsoft Drivers for PHP for SQL Server)

[!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:

  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