Give me some examples of predefined exceptions.

Answer Posted / nashiinformaticssolutions

Predefined exceptions in PL/SQL include:
• NO_DATA_FOUND: Raised when a SELECT statement returns no rows.
• TOO_MANY_ROWS: Raised when a SELECT INTO statement retrieves multiple rows.
• DUP_VAL_ON_INDEX: Raised when attempting to insert a duplicate value into a specific index.
• ZERO_DIVIDE: Raised when dividing by zero.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between sql, mysql and sql server?

694


Show the two pl/sql cursor exceptions.

806


What is data type in database?

730


What is sql scripting?

753


How do sql databases work?

710






What is orm in sql?

723


what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

714


What is the difference between delete and truncate statement in sql?

681


what is the difference between primary key and unique key? : Sql dba

708


Explain correlated query work?

792


what is primary key? : Sql dba

710


How does join work in sql?

727


how would you get the current date in mysql? : Sql dba

724


what is the command used to fetch first 5 characters of the string? : Sql dba

1365


What is a temporal table?

666