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...")
 
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==
 +
 
 +
==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 ]
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Revision as of 17:01, 3 January 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

See Also


References

[1]