Answer Posted / shivaindu
In Oracle/PLSQL, the NVL function lets you substitute a
value when a null value is encountered.
The syntax for the NVL function
-------------------------------
NVL( string1, replace_with )
Example #1:
----------
select NVL(supplier_city, 'n/a' or ‘0’)
from suppliers;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the difference between where clause and having clause? : Sql dba
what's the difference between a primary key and a unique key? : Sql dba
What are the types of optimization?
Enlist the data types that can be used in pl/sql?
How to create your own reports in sql developer?
What is the purpose of a secondary key?
What are actual parameters and formal parameters?
What are the different datatypes available in PL/SQL?
What is primary key sql?
What is record type in pl sql?
Can we use view in stored procedure?
Can we join same table in sql?
The select into statement is most often used to create backup copies of tables or for archiving records?
What is rtm stands for?
When to use inner join and left join?