Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
NVL2 « Char Functions « Oracle PL / SQL
Oracle PL / SQL
Char Functions
NVL2
1.
NVL2(x, value1, value2):Returns value1 if x is not null; if x is null, value2 is returned
2.
NVL2(x, value1, value2): for string(char) value
3.
nvl2 with null value
4.
Use nvl2 to deal with null salary