select statement does not retrieve any records. what
exception is raised?

Answers were Sorted based on User's Feedback



select statement does not retrieve any records. what exception is raised?..

Answer / merly

No_DATA_FOUND exception will be raised

Is This Answer Correct ?    2 Yes 0 No

select statement does not retrieve any records. what exception is raised?..

Answer / madhu

Here two ways is there
you are using single select statement it display no rows
selected message.

If you are using in PL/SQL BLOCK at that time it raise the
error

NO_DATA_FOUND( IF YOU DECLARED) OTHER WISE IT GO FOR
WHEN OTHERS_THEN EXCEPTION HANDER.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

List the various oracle database objects?

0 Answers  


After update how do u know how many records got updated

4 Answers   TCS,


How to use "out" parameter properly?

0 Answers  


What are Clusters ?

5 Answers   Amdocs, Infosys,


What are named parameters?

0 Answers  


What is a Private Synonyms ?

1 Answers  


what is the use of system.effective.date variable in oracle?

0 Answers  


Which Database is the best for the Security issue ? 1. DB2 2.SQL Server 3.MySQL 4.ORACLE

1 Answers  


What is Row Chaining ?

3 Answers   Cognizant, CTS,


does the query needs a hint to access a materialized view?

0 Answers  


What are the ways tablespaces can be managed and how do they differ?

0 Answers  


Explain oracle instance.

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)