Multiple choice technology mainframe

In Dynamic SQL ,The COMMIT or ROLLBACK statement destroys the prepared statement and the statement need to be prepared again.

  1. True

  2. False

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

In Dynamic SQL, COMMIT or ROLLBACK does NOT destroy prepared statements. The prepared statement remains valid after transaction boundaries and can be reused without re-preparation. Only explicitly deallocation (via DEALLOCATE PREPARE) or session termination destroys the prepared statement.