PostgreSQL_CE
PGCES-02 · Question #54
Select an incorrect statement regarding prepared statements, and 'PREPARE' / 'EXECUTE' commands.
The correct answer is C. 'PREPARE' can only specify 'SELECT' as a prepared statement. See the full explanation below for the reasoning.
Question
Select an incorrect statement regarding prepared statements, and 'PREPARE' / 'EXECUTE' commands.
Options
- A'PREPARE'/'EXECUTE' is mainly used to optimize performance.
- B'PREPARE' creates a plan for the prepared statement.
- C'PREPARE' can only specify 'SELECT' as a prepared statement.
- D'EXECUTE' executes the plan defined by 'PREPARE'.
- E'DEALLOCATE'deallocates prepared statements.
How the community answered
(44 responses)- A5% (2)
- B2% (1)
- C75% (33)
- D11% (5)
- E7% (3)
Community Discussion
No community discussion yet for this question.