Question

What is the primary purpose of a PL/SQL `CURSOR`?

A To execute DDL statements dynamically within a PL/SQL block.
B To process a set of rows returned by a `SELECT` statement one by one.
C To define a transaction boundary for `COMMIT` and `ROLLBACK` operations.
D To handle exceptions and errors in PL/SQL blocks.
E To create temporary tables for complex query results.
Practice Next

Hey! Ask a query