Converting Data Types

Microsoft Drivers for PHP for SQL Server

Collapse image Expand Image Copy image CopyHover image

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.

In This Section

Topic

Description

Default SQL Server Data Types

Provides information about the default SQL Server data types when sending data to the server.

Default PHP Data Types

Provides information about the default PHP data types when retrieving data from the server.

How to: Specify SQL Server Data Types

Demonstrates how to specify SQL Server data types when sending data to the server.

How to: Specify PHP Data Types

Demonstrates 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 Support

Demonstrates 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.

See Also