Which two describe a stored procedure?
-
A stored procedure is typically written in SQL.
-
A stored procedure is a named PL/SQL block that can accept parameters.
-
A stored procedure is a type of PL/SQL subprogram that performs an action.
-
A stored procedure has three parts: the specification, the body, and the exception handler part.
-
The executable section of a stored procedure contains statements that assigns values, control execution, and return values to the calling environment.
Option A is incorrect: stored procedures are written in PL/SQL (not SQL). Option B is correct: stored procedures are named PL/SQL blocks that accept parameters. Option C is correct: stored procedures are PL/SQL subprograms that perform actions. Option D is incorrect: procedures have specification and body, not three parts. Option E is incorrect: the executable section does not return values to the calling environment.