What is the usage of NVL?
Answers were Sorted based on User's Feedback
Answer / shailesh
When we want to handle the null value of any column then we
use nvl function.
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / surendra
it is used to convert null values to any value
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / gayathri
NVL function is used to replace the null value by another
value
The syntax for the NVL function is:
NVL( value_in, replace_with )
replace_with is the value that is returned if value_in has
a null value.
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / winnie
In NVL function , it allows to replace with a value when a
null value is encountered.
The syntax is
SELECT NVL(EMP_NAME,'ABC') FROM EMP;
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / goutam
nvl(expr1,expr2)
if expr is null
expr is the converted value.
nvl(name,'not known')
name is null
then it show not known
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / manoranjan sethy
NVL stands for not a value.
Where ever value is not found nvl will convert column and expression as a value
| Is This Answer Correct ? | 0 Yes | 0 No |
What is before and after trigger?
what is the difference between $message and $$message? : Sql dba
Why should I use postgresql?
Can you selectively load only those records that you need? : aql loader
which will fire first ? Trigger or Constraint
24 Answers i2, IBM,
What is sqlcontext?
How do I find duplicates in sql?
If a cursor is open, how can we find in a pl/sql block?
can i create trigger on synonym is it possible or not please help me
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What is the difference between having and a where in sql?
How do you modify a column in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)