You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bryan Pendleton (JIRA)" <ji...@apache.org> on 2010/01/23 21:40:17 UTC

[jira] Resolved: (DERBY-4510) Reference manual is unclear on max length for VARCHAR

     [ https://issues.apache.org/jira/browse/DERBY-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Pendleton resolved DERBY-4510.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.6.0.0

Thanks for the timely review, Knut. Committed to the docs trunk as revision 902478.


> Reference manual is unclear on max length for VARCHAR
> -----------------------------------------------------
>
>                 Key: DERBY-4510
>                 URL: https://issues.apache.org/jira/browse/DERBY-4510
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.5.3.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Bryan Pendleton
>            Priority: Minor
>             Fix For: 10.6.0.0
>
>         Attachments: docs.diff, rrefsqlj41207.html
>
>
> This is what the reference manual says about the length of a VARCHAR:
> (http://db.apache.org/derby/docs/10.5/ref/rrefsqlj41207.html)
> ,----
> | length is an unsigned integer constant, and it must not be greater
> | than the constraint of the integer used to specify the length, the
> | value java.lang.Integer.MAX_VALUE.
> | 
> | The maximum length for a VARCHAR string is 32,672 characters.
> `----
> I don't understand why it talks about Integer.MAX_VALUE here, and I
> think it would be less confusing if we replaced the above with this:
> ,----
> | length is an unsigned integer constant. The maximum length for a
> | VARCHAR string is 32,672 characters.
> `----

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.