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

Difference between an implicit & an explicit cursor.?

2 Answers  


How to define an anonymous procedure with variables?

0 Answers  


What is an oracle cursor variable?

0 Answers  


Explain the use of file option in exp command.

0 Answers  


what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

0 Answers  






What is ADDM Advisor in Oracle?

0 Answers   MCN Solutions,


What is the diff between Oracle and SQL Server

1 Answers  


How to start an oracle instance?

0 Answers  


without using count(*) and rownum how can we count total record in a table

5 Answers   AC, HP,


Table1- have two column filename data AFGDFD-20112011 hi how r u bsdasd-23042011 name shoud be in bold Now i want output like filename data AFGDFD hi how r u bsdasd name shoud be in bold Kindly answer this

3 Answers   HCL,


How to drop an existing table in oracle?

0 Answers  


The join defined by the default data link is an outer join yes or no ?

1 Answers   Oracle,


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)