title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|
Converting data types |
Learn how to specify data types and provide details about default data types when using the Microsoft Drivers for PHP for SQL Server |
David-Engel |
davidengel |
08/10/2020 |
sql |
connectivity |
conceptual |
[!INCLUDEDriver_PHP_Download]
The [!INCLUDEssDriverPHP] allows you to specify data types when you send data to or retrieve data from [!INCLUDEssNoVersion]. Specifying data types is optional. If data types are not specified, default types are used. The topics in this section describe how to specify data types and provide details about default data types.
Topic | Description |
---|---|
Default SQL Server Data Types | Provides information about the default [!INCLUDEssNoVersion] 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 [!INCLUDEssNoVersion] 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 [!INCLUDEssDriverPHP]'s built-in support for UTF-8 data. Support for UTF-8 characters was added in version 1.1 of the [!INCLUDEssDriverPHP]. |
How to: Send and Retrieve ASCII Data in Linux and macOS | Demonstrates how to use [!INCLUDEssDriverPHP]'s support for ASCII data in Linux or macOS. Support for ASCII characters in non-Windows environments was added in version 5.2 of the [!INCLUDEssDriverPHP]. |
Programming Guide for the Microsoft Drivers for PHP for SQL Server