Multiple choice technology databases

Which of the below are constructs of a procedure, function or a package ?

  1. variables and constants

  2. cursors

  3. exceptions

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Procedures, functions, and packages in PL/SQL (or similar database languages) include multiple programming constructs: variables and constants for data storage, cursors for querying data row-by-row, and exceptions for error handling. All of these (option D) are valid constructs.