[
https://issues.apache.org/jira/browse/DERBY-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996499#comment-13996499
]
Knut Anders Hatlen commented on DERBY-6424:
-------------------------------------------
Both thenExpression and elseExpression can be either a valueExpression or NULL.
In the grammar, we actually have a single rule for the two kinds of
expressions, called thenElseExpression. Maybe we could be economical and do the
same in the docs.
The limitations in the generation clause topic don't apply to the
valueExpression in a THEN or ELSE clause of a CASE expression.
> Document thenExpression
> -----------------------
>
> Key: DERBY-6424
> URL: https://issues.apache.org/jira/browse/DERBY-6424
> Project: Derby
> Issue Type: Improvement
> Components: Documentation
> Reporter: Dag H. Wanvik
> Assignee: Kim Haase
>
> The reference manual uses the grammar non-terminal "thenExpression" as a
> place holder for the result of a CASE... THEN <result>, but it is nowhere
> defined.
> When the parent issue DERBY-6423 is fixed, this production should be defined
> accordingly. (The lack of a definition was discovered while investigating
> that issue.)
--
This message was sent by Atlassian JIRA
(v6.2#6252)