Difference between NO DATA FOUND and %NOTFOUND?



Difference between NO DATA FOUND and %NOTFOUND?..

Answer / nishi

NO_DATA_FOUND is pre defind exception of oracle. when we can't get any data from the table for any query. In that case we will get error.

%NOT FOUND is one of the attribute of explicit cursor. when can't get any data from explicit cursor in that case

%NOT FOUND will returns true otherwise it returns false.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More Oracle General Interview Questions

How to assign values to data fields in record variables?

0 Answers  


what is port in oracle? how is it related to database application.

0 Answers  


What is the effect of setting the 'RULE' for OPTIMIER_GOAL parameter of the ALTER SESSION Command ?

1 Answers  


How to pass parameters to procedures in oracle?

0 Answers  


what is primary key and foreign key when and where have to use

5 Answers  






7. Repeat query (7) but also display all clients who have never ordered anything.

1 Answers   Wipro,


What is the use of oracle?

0 Answers  


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

0 Answers  


What do you mean by merge in oracle and how can you merge two tables?

0 Answers  


what are stored procedures?

7 Answers   TCS, Wells Fargo,


what is difference between DBMS and RDBMS?

2 Answers   Metric Stream,


How do you bind variables in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)