You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ch...@apache.org on 2014/05/14 22:10:27 UTC
svn commit: r1594697 - /db/derby/docs/trunk/src/ref/rrefcase.dita
Author: chaase3
Date: Wed May 14 20:10:27 2014
New Revision: 1594697
URL: http://svn.apache.org/r1594697
Log:
DERBY-6424 Document thenExpression
Modified a Reference Manual topic.
Patch: DERBY-6424.diff
Modified:
db/derby/docs/trunk/src/ref/rrefcase.dita
Modified: db/derby/docs/trunk/src/ref/rrefcase.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefcase.dita?rev=1594697&r1=1594696&r2=1594697&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefcase.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefcase.dita Wed May 14 20:10:27 2014
@@ -33,8 +33,14 @@ href="rrefsqlj23075.dita#rrefsqlj23075">
[ WHEN <i><xref
href="rrefsqlj23075.dita#rrefsqlj23075">booleanExpression</xref></i> THEN <i>thenExpression</i> ]*
[ ELSE <i>elseExpression</i> ]
-END</b></codeblock> <p>The <i>thenExpression</i> and <i>elseExpression</i> are
-both expressions that must be type-compatible. For built-in types, this means
+END</b></codeblock>
+<p>Both <i>thenExpression</i> and <i>elseExpression</i> are defined as
+follows:</p>
+<codeblock><b>NULL | <i>valueExpression</i></b></codeblock>
+<p>A <i>valueExpression</i> is an expression that resolves to a single value.
+See <xref href="rrefsqlj19433.dita"/> for more information on expressions.</p>
+<p>The <i>thenExpression</i> and <i>elseExpression</i>
+must be type-compatible. For built-in types, this means
that the types must be the same or that a built-in broadening conversion must
exist between the types.</p>
<p>If an ELSE clause is not specified, ELSE NULL is implicit.</p>