github microsoft/msphpsql 4.1.2-Windows
4.1.2 - Windows - Preview

latest releases: v5.12.0, v5.12.0-beta1, v5.11.1...
pre-release8 years ago

Thanks to the community’s input, this release expands drivers functionalities. Updated Windows drivers include some bug fixes:

  • Fixed issue #119 (modifying class name in sqlsrv_fetch_object).

  • Added following integer SQL Types constants for cases which function-like SQL types constants cannot be used e.g. type comparison:

    SQLSRV constant Typical SQL Server data type SQL type identifier
    SQLSRV_SQLTYPE_DECIMAL decimal SQL_DECIMAL
    SQLSRV_SQLTYPE_NUMERIC numeric SQL_NUMERIC
    SQLSRV_SQLTYPE_CHAR char SQL_CHAR
    SQLSRV_SQLTYPE_NCHAR nchar SQL_WCHAR
    SQLSRV_SQLTYPE_VARCHAR varchar SQL_VARCHAR
    SQLSRV_SQLTYPE_NVARCHAR nvarchar SQL_WVARCHAR
    SQLSRV_SQLTYPE_BINARY binary SQL_BINARY
    SQLSRV_SQLTYPE_VARBINARY varbinary SQL_VARBINARY

    Note: These constants should be used in type comparison operations (refer to issue #87 and #99 ), and don't replace the function like constants with the similar syntax, for binding parameters you should use the function-like constants, otherwise you'll get an error.

Thanks,
SQL Server Engineering Team

Don't miss a new msphpsql release

NewReleases is sending notifications on new releases.