TechNet
Export (0) Print
Expand All

Converting Data Types

 

DownloadDownload PHP Driver

The Microsoft Drivers for PHP for SQL Server allows you to specify data types when you send data to or retrieve data from SQL Server. Specifying data types is optional. If data types are not specified, default types will be used. The topics in this section describe how to specify data types and provide details about default data types.

TopicDescription
Default SQL Server Data TypesProvides information about the default SQL Server data types when sending data to the server.
Default PHP Data TypesProvides information about the default PHP data types when retrieving data from the server.
How to: Specify SQL Server Data TypesDemonstrates how to specify SQL Server data types when sending data to the server.
How to: Specify PHP Data TypesDemonstrates how to specify PHP data types when retrieving data from the server.
How to: Send and Retrieve UTF-8 Data Using Built-In UTF-8 SupportDemonstrates how to use Microsoft Drivers for PHP for SQL Server's built-in support for UTF-8 data.

Support for UTF-8 characters was added in version 1.1 of the Microsoft Drivers for PHP for SQL Server.

Programming Guide for PHP SQL DriverSQLSRV Driver API Reference
Constants (Microsoft Drivers for PHP for SQL Server)
Example Application (SQLSRV Driver)

Community Additions

ADD
Show:
© 2016 Microsoft