db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Haase (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5557) NULLIF topic in reference manual should explain NULLIF
Date Wed, 11 Apr 2012 18:09:20 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kim Haase updated DERBY-5557:
-----------------------------

    Attachment: DERBY-5557-2.zip
                DERBY-5557-2.stat
                DERBY-5557-2.diff

Attaching DERBY-5557-2.diff, DERBY-5557-2.stat, and DERBY-5557-2.zip, with the following changed
files:

M       src/ref/rrefcase.dita
M       src/ref/rrefcasenullif.dita
M       src/ref/rrefsqlj19433.dita
M       src/ref/refderby.ditamap

I created reltable entries in the map file for the three conditional expression topics so
that they cross-reference each other, and included the COALESCE topic output in the zip so
you can see that it too contains the reference.

Thanks in advance!
                
> NULLIF topic in reference manual should explain NULLIF
> ------------------------------------------------------
>
>                 Key: DERBY-5557
>                 URL: https://issues.apache.org/jira/browse/DERBY-5557
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.8.2.2
>            Reporter: Knut Anders Hatlen
>            Assignee: Kim Haase
>         Attachments: DERBY-5557-2.diff, DERBY-5557-2.stat, DERBY-5557-2.zip, DERBY-5557.diff,
rrefcasenullif.html
>
>
> The section describing NULLIF in the reference manual is a bit cryptic. http://db.apache.org/derby/docs/10.8/ref/rrefcasenullif.html
> It says that NULLIF is used for conditional expressions, and that it is similar to CASE,
but it doesn't say in plain words how it works. It would be good if it could mention that
NULLIF returns NULL if the two arguments are equal, and that it returns the first argument
if they are not equal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message