ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Databases  >>  SQL PLSQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is the usage of NVL?
 Question Submitted By :: Sumitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the usage of NVL?
Answer
# 1
When we want to handle the null value of any column then we 
use nvl function.
 
Is This Answer Correct ?    7 Yes 0 No
Shailesh
 
  Re: What is the usage of NVL?
Answer
# 2
it is used to convert null values to any value
 
Is This Answer Correct ?    7 Yes 0 No
Surendra
 
 
 
  Re: What is the usage of NVL?
Answer
# 3
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 ?    3 Yes 0 No
Gayathri
 
  Re: What is the usage of NVL?
Answer
# 4
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 ?    2 Yes 0 No
Goutam
 
  Re: What is the usage of NVL?
Answer
# 5
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 ?    3 Yes 0 No
Winnie
 

 
 
 
Other SQL PLSQL Interview Questions
 
  Question Asked @ Answers
 
What is a database trigger ? Name some usages of database trigger ?  3
how instead of triger is helpful for mutating tables errors handlling ? Oracle2
What are the modes of parameters that can be passed to a procedure ?  2
If an unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE?  2
what is difference between stored procedures and application procedures,stored function and application function?  1
difference between pl/sql table and normal pl/sql table  2
When we can declare a column as Unique and Not Null both at the same time. What is the use pf Primary Key then?  2
package specification-3 procedures package body-2 procedures will is execute  2
If records are inserted into table without committing.How to refer to these values in a procedure?  2
Dear All, Question for this Week Find out possible error(s) (either at compile time or at runtime) in the following PL/SQL block. State the reason(s) and correct the errors. Declare Cursor C1 is select ename, sal, comm from emp; Begin For i in C1 Loop If i.comm between 299 and 999 then Dbms_output.put_line(i.Ename || ‘ ** Good Commission’); Elsif i.comm > 999 then Dbms_output.put_line(i.Empno || ‘ ** Very Good Commission’); close C1; Else Dbms_output.put_line(i.Ename || ‘ ** ’ ||nvl(i.comm,‘O’)); End if; End Loop; End; Accenture5
what is called after appearing where clause  1
What is the difference between RDBMS and DBMS? Stag-Computers5
a procedure one in two out parameters i am waiting it in a sql query can i get the output  1
how to find the second highest salary from emp table? Wipro24
select 1,col1,col2 from table1. output? Ramco3
What is an Exception ? What are types of Exception ?  2
Why you are not able to create a table using select command,if it is having a LONG column? for eg:create table test as select * from test1 here test1 containg a column having LONG datatype...  1
What are the PL/SQL Statements used in cursor processing ?  2
what is a sub query?how will you calculate working days in a month using sub query? InteQ3
How can you create Cursor with parametres ?  3
 
For more SQL PLSQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com