What does NVL stand for? I'm talking about the Oracle and Informix (perhaps some others too) function used to filter out non NULL values from query results (similar to COALESCE in other databases).
Asked
Active
Viewed 2.0k times
20
newenglander
- 1,055
- 5
- 13
- 23
3 Answers
21
Quite simply: Null VaLue
The function substitutes any NULLs in a given resultset column with the value given as the second parameter.
Philᵀᴹ
- 31,762
- 10
- 83
- 107
10
"Null Value Logic" according to http://www.abbreviations.com/term/157605, but most of the other references I have found support Phil's "Null Value" supposition. I haven't found a definitive origin.
Leigh Riffel
- 23,854
- 16
- 78
- 152
NVL()orIFNULL()or something in their product and we wanted a standard syntax for it. Someone else generalized it to a list, but nobody coudl come up with a name we all liked... someone pulled out a Thesaurus and started looking for a single word that nobody would use for a table name, column name or other function and that was not used in any existing product. You know who the winner was now [i.e.COALESCE]" -- Joe Celko. – onedaywhen Apr 13 '12 at 10:10