db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5973) Add syntax for boolean IS operator
Date Wed, 31 Oct 2012 16:05:12 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487894#comment-13487894
] 

Knut Anders Hatlen commented on DERBY-5973:
-------------------------------------------

Looks like the boolean IS operator used to be available in old Cloudscape versions, which
explains why the implementation methods are there.

Found it mentioned in this copy of the Cloudscape 3.0 reference manual:

http://www.di.ufpe.br/~java/docs/j2sdkee1.2.1/doc/cloudscape/doc/html/coredocs/sqlj110.htm#1099621
                
> Add syntax for boolean IS operator
> ----------------------------------
>
>                 Key: DERBY-5973
>                 URL: https://issues.apache.org/jira/browse/DERBY-5973
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>
> The BooleanDataValue interface and the SQLBoolean class implement the boolean IS operator
in their is() and isNot() methods. However, the operator is not exposed in the grammar, so
there's no way to use it.
> The boolean IS operator is defined in the SQL:2003 standard, part 2, section 6.34 <boolean
value expression>.
> <boolean test> ::= <boolean primary> [ IS [ NOT ] <truth value> ]
> There's also Table 13 — Truth table for the IS boolean operator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message