What is the basic structure of PL/SQL?

DWQA QuestionsCategory: Pl/SQLWhat is the basic structure of PL/SQL?
Editor Staff asked 9 months ago

What is the basic structure of PL/SQL?

1 Answers
Editor Staff answered 9 months ago

PL/SQL uses BLOCK structure as its basic structure. Each PL/SQL program consists of SQL and PL/SQL statement which form a PL/SQL block.
PL/SQL block contains 3 sections.

  1. The Declaration Section (optional)
  2. The Execution Section (mandatory)
  3. The Exception handling Section (optional)