Oracle Developer is famous for its rapid data processing and development, and its exception handling mechanism is also relatively complete.
1. Advantages of exceptions
If no exception occursProgramCheck whether each command succeeds or fails,
I. OverviewExceptions fall into three main categories: predefined exceptions, non-predefined exceptions, custom exceptionsThe processing method is divided into: Direct throw exception, internal block handling exception, cursor handling
Exception in Oracle
1. Advantages of exceptions
If no exception exists, check whether each command succeeds or fails in the program, as shown in figure
Begin
Select...
-- Check for 'no data found 'Error
Select...
-- Check for 'no data found
I. SummaryIn the development process of Plsql program, it is very important to monitor and deal with the program exception, including how to trigger the exception, when to deal with it, how to handle it, whether to centralize all the exceptions in
Oracle exceptions include pre-defined exceptions and custom exceptions (in my opinion ).
The predefined exceptions include anonymous and non-Anonymous exceptions.
(Anonymous exception: no name like ORA-00371;
Non-Anonymous exception: there is a
What is an exception?Errors in Oracle are usually divided into compile-time errors and run-time errors ), an exception is a warning or error that occurs during PL/SQL Execution. • How is an exception triggered? -When an Oracle error occurs-use the
Where can I start learning about Oracle? Here, I will take you to the door of Oracle. One chapter a day, seven days of entry is not a dream.
1. PL/SQL
PL/SQL is a procedural extension of Oracle in the standard SQL language that allows embedding
ORACLE stored procedure details, oracle Stored ProcedureORACLE Stored Procedure explanation 1. Definition
A Stored Procedure is a set of SQL statements used to complete specific database functions. The SQL statement set is compiled and Stored in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.