mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 06:18:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325010 c90b9560-bf6c-de11-be94-00142212c4b1
994 lines
No EOL
32 KiB
XML
994 lines
No EOL
32 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<appendix xml:id="sqlsrv.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.sqlsrv-fetch-assoc">
|
|
<term>
|
|
<constant>SQLSRV_FETCH_ASSOC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_fetch_array</function> to return an associative
|
|
array when passed as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-fetch-numeric">
|
|
<term>
|
|
<constant>SQLSRV_FETCH_NUMERIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_fetch_array</function> to return an array with
|
|
numeric when passed as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-fetch-both">
|
|
<term>
|
|
<constant>SQLSRV_FETCH_BOTH</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_fetch_array</function> to return an array with both
|
|
associative and numeric keys when passed as a parameter (the default behavior).
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-err-all">
|
|
<term>
|
|
<constant>SQLSRV_ERR_ALL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_errors</function> to return both errors and warings
|
|
when passed as a parameter (the default behavior).
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-err-errors">
|
|
<term>
|
|
<constant>SQLSRV_ERR_ERRORS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_errors</function> to return errors only (no warnings)
|
|
when passed as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-err-warnings">
|
|
<term>
|
|
<constant>SQLSRV_ERR_WARNINGS</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Forces <function>sqlsrv_errors</function> to return warnings only (no errors)
|
|
when passed as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-all">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_ALL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns on logging of all subsystems when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-conn">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_CONN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns on logging of connection activity when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-init">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_INIT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns on logging of initialization activity when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-off">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_OFF</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns off logging of all subsystems when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-stmt">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_STMT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns on logging of statement activity when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-system-util">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SYSTEM_UTIL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Turns on logging of error function activity when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-severity-all">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SEVERITY_ALL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that errors, warnings, and notices will be logged
|
|
when passed to <function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-severity-error">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SEVERITY_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that errors will be logged when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-severity-notice">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SEVERITY_NOTICE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that notices will be logged when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-log-severity-warning">
|
|
<term>
|
|
<constant>SQLSRV_LOG_SEVERITY_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that warnings will be logged when passed to
|
|
<function>sqlsrv_configure</function> as a parameter.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-nullable-yes">
|
|
<term>
|
|
<constant>SQLSRV_NULLABLE_YES</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates that a column is nullable.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-nullable-no">
|
|
<term>
|
|
<constant>SQLSRV_NULLABLE_NO</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates that a column is not nullable.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-nullable-unknown">
|
|
<term>
|
|
<constant>SQLSRV_NULLABLE_UNKNOWN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates that it is not known if a column is nullable.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-param-in">
|
|
<term>
|
|
<constant>SQLSRV_PARAM_IN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates an input parameter when passed to <function>sqlsrv_query</function>
|
|
or <function>sqlsrv_prepare</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-param-inout">
|
|
<term>
|
|
<constant>SQLSRV_PARAM_INOUT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates a bidirectional parameter when passed to <function>sqlsrv_query</function>
|
|
or <function>sqlsrv_prepare</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-param-out">
|
|
<term>
|
|
<constant>SQLSRV_PARAM_OUT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Indicates an output parameter when passed to <function>sqlsrv_query</function> or
|
|
<function>sqlsrv_prepare</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-phptype-int">
|
|
<term>
|
|
<constant>SQLSRV_PHPTYPE_INT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies an integer PHP data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-phptype-datetime">
|
|
<term>
|
|
<constant>SQLSRV_PHPTYPE_DATETIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies a datetime PHP data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-phptype-float">
|
|
<term>
|
|
<constant>SQLSRV_PHPTYPE_FLOAT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies a float PHP data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-phptype-stream">
|
|
<term>
|
|
<constant>SQLSRV_PHPTYPE_STREAM</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies a PHP stream. This constant works like a function and accepts an
|
|
encoding constant. See the SQLSRV_ENC_* constants. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-phptype-string">
|
|
<term>
|
|
<constant>SQLSRV_PHPTYPE_STRING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-enc-binary">
|
|
<term>
|
|
<constant>SQLSRV_ENC_BINARY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that data is returned as a raw byte stream from the server without
|
|
performing encoding or translation. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-enc-char">
|
|
<term>
|
|
<constant>SQLSRV_ENC_CHAR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.utf-8">
|
|
<term>
|
|
<constant>UTF-8</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies that data is returned with UTF-8 encoding. For usage information,
|
|
see <link xlink:href="&url.sqlsrv.specify.phptype;">How to: Specify PHP Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-bigint">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_BIGINT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the bigint SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-binary">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_BINARY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the binary SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-bit">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_BIT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the bit SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-char">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_CHAR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-date">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_DATE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the date SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-datetime">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_DATETIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the datetime SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-datetime2">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_DATETIME2</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the datetime2 SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-datetimeoffset">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_DATETIMEOFFSET</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the datetimeoffset SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-decimal">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_DECIMAL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-float">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_FLOAT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the float SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-image">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_IMAGE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the image SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-int">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_INT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the int SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-money">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_MONEY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the money SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-nchar">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_NCHAR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-numeric">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_NUMERIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-nvarchar">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_NVARCHAR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_NVARCHAR</constant>('max')
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the nvarchar(MAX) SQL Server data type. For usage information,
|
|
see <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-ntext">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_NTEXT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the ntext SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-real">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_REAL</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the real SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-smalldatetime">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_SMALLDATETIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the smalldatetime SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-smallint">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_SMALLINT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the smallint SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-smallmoney">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_SMALLMONEY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the smallmoney SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-text">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_TEXT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the text SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-time">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_TIME</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the time SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-timestamp">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_TIMESTAMP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the timestamp SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-tinyint">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_TINYINT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the tinyint SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-uniqueidentifier">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_UNIQUEIDENTIFIER</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the uniqueidentifier SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-udt">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_UDT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the UDT SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-varbinary">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_VARBINARY</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_VARBINARY</constant>('max')
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the varbinary(MAX) SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-varchar">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_VARCHAR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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 <link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_VARCHAR</constant>('max')
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the varchar(MAX) SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-sqltype-xml">
|
|
<term>
|
|
<constant>SQLSRV_SQLTYPE_XML</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Describes the XML SQL Server data type. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.sqltype;">How to: Specify SQL Types</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-txn-read-uncommitted">
|
|
<term>
|
|
<constant>SQLSRV_TXN_READ_UNCOMMITTED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a transaction isolation level of READ UNCOMMITTED. This value is
|
|
used to set the TransactionIsolation level in the $connectionOptions arrary
|
|
passed to <function>sqlsrv_connect</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-txn-read-committed">
|
|
<term>
|
|
<constant>SQLSRV_TXN_READ_COMMITTED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a transaction isolation level of READ COMMITTED. This value is
|
|
used to set the TransactionIsolation level in the $connectionOptions arrary
|
|
passed to <function>sqlsrv_connect</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-txn-repeatable-read">
|
|
<term>
|
|
<constant>SQLSRV_TXN_REPEATABLE_READ</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a transaction isolation level of REPEATABLE READ. This value is
|
|
used to set the TransactionIsolation level in the $connectionOptions arrary
|
|
passed to <function>sqlsrv_connect</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-txn-snapshot">
|
|
<term>
|
|
<constant>SQLSRV_TXN_SNAPSHOT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a transaction isolation level of SNAPSHOT. This value is used to
|
|
set the TransactionIsolation level in the $connectionOptions arrary passed
|
|
to <function>sqlsrv_connect</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-txn-read-serializable">
|
|
<term>
|
|
<constant>SQLSRV_TXN_READ_SERIALIZABLE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a transaction isolation level of SERIALIZABLE. This value is used
|
|
to set the TransactionIsolation level in the $connectionOptions arrary passed
|
|
to <function>sqlsrv_connect</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-cursor-forward">
|
|
<term>
|
|
<constant>SQLSRV_CURSOR_FORWARD</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a forward-only cursor. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-cursor-static">
|
|
<term>
|
|
<constant>SQLSRV_CURSOR_STATIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a static cursor. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-dynamic">
|
|
<term>
|
|
<constant>SQLSRV_CURSOR_DYNAMIC</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a dynamic cursor. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-cursor-keyset">
|
|
<term>
|
|
<constant>SQLSRV_CURSOR_KEYSET</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Inidicates a keyset cursor. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-cursor-buffered">
|
|
<term>
|
|
<constant>SQLSRV_CURSOR_BUFFERED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Creates a client-side cursor query. Lets you access rows in any order. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-next">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_NEXT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-prior">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_PRIOR</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-first">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_FIRST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-last">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_LAST</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-absolute">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_ABSOLUTE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sqlsrv-scroll-relative">
|
|
<term>
|
|
<constant>SQLSRV_SCROLL_RELATIVE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies which row to select in a result set. For usage information, see
|
|
<link xlink:href="&url.sqlsrv.specify.cursortype;">Specifying a Cursor Type and Selecting Rows</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
--> |