Redaguoti

Bendrinti naudojant


Programming Guide for the Microsoft Drivers for PHP for SQL Server

Download PHP driver

This section contains topics that help you develop applications with the Microsoft Drivers for PHP for SQL Server.

In This Section

Topic Description
Connecting to the Server Describes the options and procedures for connecting to SQL Server.
Comparing Execution Functions Compares the functions that are used to execute a query by examining different use cases for each. Specifically, this document compares executing a single query with executing a prepared query multiple times.
Direct Statement Execution and Prepared Statement Execution in the PDO_SQLSRV Driver Discusses how to use the PDO::SQLSRV_ATTR_DIRECT_QUERY attribute to specify direct statement execution instead of the default, which is prepared statement execution.
Retrieving Data Examines the various ways that data can be retrieved.
Updating Data Addresses how to update data in a database by examining common use cases.
Converting Data Types Addresses how to specify data types and provide details on default data types.
Handling Errors and Warnings Addresses how to handle errors and warnings.
Logging Activity Provides information about logging errors and warnings.
Using Always Encrypted with the Microsoft Drivers for PHP for SQL Server Provides information about using Always Encrypted feature with the PHP drivers.
Security Considerations for the Microsoft Drivers for PHP for SQL Server Describes security considerations for developing, deploying, and running applications.

See Also

Overview of the Microsoft Drivers for PHP for SQL Server

Getting Started with the Microsoft Drivers for PHP for SQL Server

SQLSRV Driver API Reference

Constants (Microsoft Drivers for PHP for SQL Server)

Example Application (SQLSRV Driver)