How do you declare a user-defined exception?

DWQA QuestionsCategory: Pl/SQLHow do you declare a user-defined exception?
Editor Staff asked 10 months ago

How do you declare a user-defined exception?

1 Answers
Editor Staff answered 10 months ago

You can declare the User defined exceptions under the DECLARE section, with the keyword EXCEPTION.
Syntax:

 

  1. <exception_name> EXCEPTION;