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
explain about mysql and its features. : Sql dba
What is keys and its types?
What are string functions in sql?
Which normal form is best?
What are actual parameters and formal parameters?
What will you get by the cursor attribute sql%notfound?
Which is the correct statement about truncate and delete?
Can we debug stored procedure?
How do I write a sql query in pgadmin 4?
What is data control language?
What are the various levels of constraints?
Which table is left in join?
Does pl/sql support create command?
what are enums used for in mysql? : Sql dba
How can use stored procedures in sql?