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

Can group functions be mixed with non-group selection fields?

528


What is system tablespace?

628


Can select statements be used on views in oracle?

586


Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.

1863


Can we use bind variables in oracle stored procedure?

486






What is the purpose of tables, private synonyms and public synonyms in Oracle?

585


How to increment dates by 1 in oracle?

557


How data locks are respected in oracle?

568


what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2042


Explain the use of record length option in exp command.

552


What are the attributes of cursor?

585


What are nested tables?

667


Differentiate between translate and replace?

625


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

548


What are the differences between char and nchar in oracle?

592