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 export your connection information to a file?

0 Answers  


What is the usage of analyze command in oracle?

0 Answers  


1. Display the post code and the purchase order number for each purchase order. Sort the output set by postcode.

1 Answers   Wipro,


What is a trace file and how is it created in oracle?

0 Answers  


which is best insttute for teradata,sybase,mysql,oracle in hyderabad

1 Answers  






What is a Database instance ? Explain?

3 Answers  


How to connect the oracle server as sysdba?

0 Answers  


How do I spool to a csv formatted file using sqlplus?

0 Answers  


Difference between NO DATA FOUND and %NOTFOUND?

1 Answers  


What privilege is needed for a user to query tables in another schema?

0 Answers  


What is difference between Rename and Alias?

1 Answers  


What are the attributes that are found in a cursor?

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)