Issue Details (XML | Word | Printable)

Key: DERBY-9
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jean T. Anderson
Reporter: Ali Demir
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Documentation Bug

Created: 28/Sep/04 07:16 PM   Updated: 06/Jun/05 01:17 AM
Return to search
Component/s: Documentation
Affects Version/s: 10.0.2.0
Fix Version/s: 10.0.2.1

Time Tracking:
Not Specified

Environment: Windows 2K

Resolution Date: 10/Nov/04 04:52 AM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jean T. Anderson added a comment - 08/Nov/04 10:34 PM
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

Jean T. Anderson added a comment - 10/Nov/04 04:52 AM
Fixed in svn revision 56996:
incubator/derby/site/trunk/build/site/manuals/reference/sqlj148.html
incubator/derby/site/trunk/build/site/manuals/reference/sqlj232.html incubator/derby/site/trunk/build/site/manuals/reference/sqlj43.html
incubator/derby/site/trunk/src/documentation/content/xdocs/manuals/reference/sqlj148.ihtml incubator/derby/site/trunk/src/documentation/content/xdocs/manuals/reference/sqlj232.ihtml incubator/derby/site/trunk/src/documentation/content/xdocs/manuals/reference/sqlj43.ihtml

Jean T. Anderson added a comment - 06/Jun/05 01:14 AM
Set fixin version.

Jean T. Anderson added a comment - 06/Jun/05 01:16 AM
ok, really set fix version and corrected affects version.

Jean T. Anderson added a comment - 06/Jun/05 01:17 AM
Issue does not affect DITA docs, was fixed before the new files were contributed.