Difference between revisions of "Manuals/calci/NVL"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''NVL (Value,Default) '''</div><br/> ==Description== *The NVL function replaces a NA value or an empty string with a string. *To evaluate a speci...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
*The NVL function replaces a NA value or an empty string with a string.
 
*The NVL function replaces a NA value or an empty string with a string.
 
*To evaluate a specified expression and replace a non-NA value or empty string with one value and a NA value with another.
 
*To evaluate a specified expression and replace a non-NA value or empty string with one value and a NA value with another.
*The specified replacement value when the value of the base value is NA, or the base value when the base value  is not NA. The data type of the return value is always the same as the data type of the base value.
+
*The specified replacement value when the value of the base value is NA, or the base value when the base value  is not NA.  
 +
*The data type of the return value is always the same as the data type of the base value.
 +
 
 +
==Examples==
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=kG5Iy0vnzs0|280|center|Null String}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/SOME| SOME]]
 +
*[[Manuals/calci/REPEATCHAR  | REPEATCHAR ]]
 +
*[[Manuals/calci/REPLACE | REPLACE ]]
 +
 
 +
 
 +
==References==
 +
[https://docs.oracle.com/cd/B28359_01/olap.111/b28126/dml_functions_2048.htm#OLADM624 Empty String]
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 13:28, 4 April 2019

NVL (Value,Default)


Description

  • The NVL function replaces a NA value or an empty string with a string.
  • To evaluate a specified expression and replace a non-NA value or empty string with one value and a NA value with another.
  • The specified replacement value when the value of the base value is NA, or the base value when the base value is not NA.
  • The data type of the return value is always the same as the data type of the base value.

Examples

Related Videos

Null String

See Also


References

Empty String