mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add note about max VARCHAR length on Win32
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140415 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
da79a8b600
commit
71604c689d
1 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/mssql.xml, last change in rev 1.3 -->
|
||||
<refentry id="function.mssql-field-length">
|
||||
<refnamediv>
|
||||
|
@ -13,9 +13,19 @@
|
|||
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
<para>
|
||||
This function returns the length of field no. <parameter>offset</parameter> in
|
||||
result <parameter>result</parameter>. If <parameter>offset</parameter> is omitted,
|
||||
the current field is used.
|
||||
</para>
|
||||
<note>
|
||||
<title>Note to Win32 Users</title>
|
||||
<simpara>
|
||||
Due to a limitation in the underlying API used by PHP (MS DbLib C API),
|
||||
the length of VARCHAR fields is limited to <emphasis>255</emphasis>. If
|
||||
you need to store more data, use a TEXT field instead.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue