Export (0) Print
Expand All

What's New (SQL Server 2005 Driver for PHP)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This topic lists new features in this release of the SQL Server 2005 Driver for PHP.

Additional Functions

The following sqlsrv functions are new in this release:

See the API Reference for a complete list of function names and signatures.

Index Change for Arrays and Fields

Numeric arrays returned by sqlsrv_fetch_array now start with index zero (0). Fields returned by sqlsrv_get_field now start with index zero (0). For more information, see How to: Retrieve Data as an Array and How to: Retrieve a Single Field.

Warnings Are Treated as Errors

By default, warnings that are generated by calls to sqlsrv functions are now treated as errors. For more information, see sqlsrv_errors and Handling Errors and Warnings.

Support for More Connection Attributes

For a complete list of supported connection attributes, see sqlsrv_connect.

Support for Connection Pooling

By default, connection pooling is turned on in the SQL Server 2005 Driver for PHP. For more information, see Connection Pooling.

Stream Data Sent at Execution

By default, all stream data is sent to the server at the time of query execution. This behavior can be turned off so that up to eight kilobytes (8 KB) of stream data is sent to the server with each call to sqlsrv_send_stream_data. For more information, see How to: Send Stream Data.

Support for More SQL Server Data Types

For a complete list of supported SQL Server data types, see the SQLTYPE Constants section of SQLSRV Constants (SQL Server 2005 Driver for PHP). For information about how to specify SQL Server data types, see How to: Specify SQL Server Data Types.

Updated Default PHP Types

By default, the SQL Server 2005 Driver for PHP converts data to PHP data types when retrieving data from the server. Some of the default conversions have changed for this release. For a complete list of the default PHP data types, see Default PHP Data Types. For information about how to specify PHP data types, see How to: Specify PHP Data Types.

Simplified Logging Configuration

The new sqlsrv_configure function is now used to configure all logging settings. For more information, see Logging Activity.

Show:
© 2014 Microsoft