[ http://issues.apache.org/jira/browse/DERBY-9?page=all ]

Jean T. Anderson updated DERBY-9:
---------------------------------

    Description: 
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.



  was:
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.



        Version: 10.0.2.1
                     (was: 10.0.2.0)

Set fixin version.

> Documentation Bug
> -----------------
>
>          Key: DERBY-9
>          URL: http://issues.apache.org/jira/browse/DERBY-9
>      Project: Derby
>         Type: Bug
>   Components: Documentation
>     Versions: 10.0.2.1
>  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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to