Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 2.32 KB

File metadata and controls

72 lines (45 loc) · 2.32 KB
title PDO Class
description API reference for the PDO class in the Microsoft PDO_SQLSRV Driver for PHP for SQL Server.
ms.custom
ms.date 08/10/2020
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic reference
ms.assetid 9c77b68d-0649-44af-96fa-586cbb319f5f
author David-Engel
ms.author v-daenge

PDO Class

[!INCLUDEDriver_PHP_Download]

The PDO class contains methods that allow your PHP application to connect to an [!INCLUDEssNoVersion] instance.

Syntax

  
PDO {}  

Remarks

The PDO class contains the following methods:

PDO::__construct

PDO::beginTransaction

PDO::commit

PDO::errorCode

PDO::errorInfo

PDO::exec

PDO::getAttribute

PDO::getAvailableDrivers

PDO::lastInsertId

PDO::prepare

PDO::query

PDO::quote

PDO::rollback

PDO::setAttribute

Support for PDO was added in version 2.0 of the [!INCLUDEssDriverPHP].

See Also

PDO_SQLSRV Driver Reference

Overview of the Microsoft Drivers for PHP for SQL Server

Constants (Microsoft Drivers for PHP for SQL Server)

Programming Guide for the Microsoft Drivers for PHP for SQL Server

Getting Started with the Microsoft Drivers for PHP for SQL Server

PDO