Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PDO Class

SQL Server 2008 R2

The PDO class contains methods that allow your PHP application to connect to an SQL Server instance.

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 Microsoft Drivers for PHP for SQL Server.

Community Additions

ADD
Show:
© 2015 Microsoft