Commit fe2f8781 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix (mis)information about NULLIF() SQL function.

Thanks to Tom Lane for pointing it out.
parent f7e12db7
......@@ -45,10 +45,10 @@
class="parameter">c2</replaceable> + 5, 0) </entry>
</row>
<row>
<entry> IFNULL(<replaceable class="parameter">input</replaceable>,<replaceable class="parameter">non-NULL substitute</replaceable>) </entry>
<entry> non-NULL </entry>
<entry> return second argument if first is NULL </entry>
<entry> IFNULL(<replaceable class="parameter">c1</replaceable>, 'N/A')</entry>
<entry> NULLIF(<replaceable class="parameter">input</replaceable>,<replaceable class="parameter">value</replaceable>) </entry>
<entry> <replaceable class="parameter">input</replaceable> or NULL </entry>
<entry> return NULL if <replaceable class="parameter">input</replaceable> = <replaceable class="parameter">value</replaceable> </entry>
<entry> NULLIF(<replaceable class="parameter">c1</replaceable>, 'N/A')</entry>
</row>
<row>
<entry> CASE WHEN <replaceable class="parameter">expr</replaceable> THEN <replaceable class="parameter">expr</replaceable> [...] ELSE <replaceable class="parameter">expr</replaceable> END </entry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment