[ http://nagoya.apache.org/jira/browse/DERBY-9?page=comments#action_55220 ]
Jean T. Anderson commented on DERBY-9:
--------------------------------------
The date expressions are missing parentheses. Instead of DATE'1998-02-06', it
should be DATE('1998-02-06'). Files with errors are:
src/documentation/content/xdocs/manuals/reference/sqlj148.ihtml,sqlj232.ihtml,sqlj43.ihtml
> Documentation Bug
> -----------------
>
> Key: DERBY-9
> URL: http://nagoya.apache.org/jira/browse/DERBY-9
> Project: Derby
> Type: Bug
> Components: Documentation
> Versions: 10.0.2.0
> Environment: Windows 2K
> Reporter: Ali Demir
> Assignee: Jean T. Anderson
> Priority: Minor
>
> reference.pdf: page 178
> Tests whether the first operand is between the second and third operands. The
> second operand must be less than the third operand. Applicable only to types
> to which <= and >= can be applied. WHERE booking_date BETWEEN
> DATE'1998-02-26' AND DATE'1998-03-01'
> Syntax does not work. DATE'1998-02-26' i think is wrong.
> WHERE booking_date BETWEEN '1998-02-26' AND '1998-03-01'
> seems to work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira