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 17:16:17 UTC
[jira] Updated: (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 updated DERBY-4510:
-----------------------------------
Attachment: docs.diff
rrefsqlj41207.html
That seems like a good simplification, and a much clearer way to describe the data type.
Attached is a docs patch proposal, and the HTML-formatted version of the ref page.
> 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
> Priority: Minor
> 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.