Difference between NO DATA FOUND and %NOTFOUND?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between view and materialized view in Oracle?

830


How a tablespace is related to data files?

778


What is the data type of dual table?

687


Explain the use of full option in exp command.

754


What is a cursor and what are the steps need to be taken?

770


What privilege is needed for a user to create tables in oracle?

737


What are the differences between number and binary_float in oracle?

798


Explain about functional dependency and its relation with table design?

756


Explain constraining triggers.

825


Explain a data segment?

825


Whether any commands are used for months calculation? If so, what are they?

818


How to select some rows from a table in oracle?

794


What are the differences between char and nchar in oracle?

803


what is the difference between functional dependecy and multilevel dependency?

2203


How to speed up webrick?

816