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
Is sql low level language?
What are the different operators available in sql?
What is an ndf file?
What packages(if any) has oracle provided for use by developers?
Why stored procedures are faster than query?
How do you delete data from a table?
How to rename a table?
Which nosql database is best?
What is composite data type in pl sql?
How do I add a primary key to a table?
How do I filter in sql profiler?
What is java sql drivermanager?
How can you save or place your msg in a table?
what is an alias command? : Sql dba
Write a sql query to convert all character to uppercase after hypen.