Specifies a PHP stream. This constant works like a function and accepts an
encoding constant. See the SQLSRV_ENC_* constants. For usage information, see
» How to: Specify PHP Types.
SQLSRV_PHPTYPE_STRING
(int)
Specifies a string PHP data type. This constant works like a function and
accepts an encoding constant. See the SQLSRV_ENC_* constants. For usage information,
see » How to: Specify PHP Types.
SQLSRV_ENC_BINARY
(int)
Specifies that data is returned as a raw byte stream from the server without
performing encoding or translation. For usage information, see
» How to: Specify PHP Types.
SQLSRV_ENC_CHAR
(int)
Data is returned in 8-bit characters as specified in the code page of the
Windows locale that is set on the system. Any multi-byte characters or characters
that do not map into this code page are substituted with a single byte question
mark (?) character. This is the default encoding. For usage information,
see » How to: Specify PHP Types.
UTF-8
(int)
Specifies that data is returned with UTF-8 encoding. For usage information,
see » How to: Specify PHP Types.
Describes the char SQL Server data type. This constant works like a function
and accepts a parameter indicating the number characters. For usage information,
see » How to: Specify SQL Types.
Describes the decimal SQL Server data type. This constant works like a function
and accepts two parameters indicating (in order) precision and scale. For usage information,
see » How to: Specify SQL Types.
Describes the nchar SQL Server data type. This constant works like a function
and accepts a single parameter indicating the character count. For usage information,
see » How to: Specify SQL Types.
SQLSRV_SQLTYPE_NUMERIC
(int)
Describes the numeric SQL Server data type. This constant works like a function
and accepts two parameter indicating (in order) precision and scale. For usage
information, see » How to: Specify SQL Types.
SQLSRV_SQLTYPE_NVARCHAR
(int)
Describes the nvarchar SQL Server data type. This constant works like a function
and accepts a single parameter indicating the character count. For usage
information, see » How to: Specify SQL Types.
Describes the varbinary SQL Server data type. This constant works like a function
and accepts a single parameter indicating the byte count. For usage information,
see » How to: Specify SQL Types.
Describes the varchar SQL Server data type. This constant works like a function
and accepts a single parameter indicating the character count. For usage information,
see » How to: Specify SQL Types.
Indicates a transaction isolation level of READ UNCOMMITTED. This value is
used to set the TransactionIsolation level in the $connectionOptions array
passed to sqlsrv_connect().
SQLSRV_TXN_READ_COMMITTED
(int)
Indicates a transaction isolation level of READ COMMITTED. This value is
used to set the TransactionIsolation level in the $connectionOptions array
passed to sqlsrv_connect().
SQLSRV_TXN_REPEATABLE_READ
(int)
Indicates a transaction isolation level of REPEATABLE READ. This value is
used to set the TransactionIsolation level in the $connectionOptions array
passed to sqlsrv_connect().
SQLSRV_TXN_SNAPSHOT
(int)
Indicates a transaction isolation level of SNAPSHOT. This value is used to
set the TransactionIsolation level in the $connectionOptions array passed
to sqlsrv_connect().
SQLSRV_TXN_READ_SERIALIZABLE
(int)
Indicates a transaction isolation level of SERIALIZABLE. This value is used
to set the TransactionIsolation level in the $connectionOptions array passed
to sqlsrv_connect().