BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL Exam PGCES-02 Topic 8 Question 57 Discussion

Actual exam question for PostgreSQL's PGCES-02 exam
Question #: 57
Topic #: 8
[All PGCES-02 Questions]

Select an incorrect statement regarding prepared statements, and 'PREPARE' / 'EXECUTE' commands.

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Michael
5 months ago
I agree with you, Statement E is misleading in that regard.
upvoted 0 times
...
Val
5 months ago
I think statement E is incorrect because 'DEALLOCATE' does not deallocate prepared statements, but releases memory instead.
upvoted 0 times
...
Artie
5 months ago
That's a good point, 'PREPARE' and 'EXECUTE' commands serve other purposes too.
upvoted 0 times
...
Michael
5 months ago
I believe statement A is incorrect because 'PREPARE'/'EXECUTE' is not solely used for performance optimization.
upvoted 0 times
...
Val
5 months ago
I agree with you, Statement C is definitely incorrect.
upvoted 0 times
...
Artie
5 months ago
I think statement C is incorrect because 'PREPARE' can specify other statements like 'INSERT' or 'UPDATE'.
upvoted 0 times
...
Audrie
5 months ago
And 'DEALLOCATE' is used to free up resources allocated for prepared statements.
upvoted 0 times
...
Janet
5 months ago
Yes, and 'EXECUTE' then executes the plan created by 'PREPARE'.
upvoted 0 times
...
Cora
5 months ago
So, the correct statement would be that 'PREPARE' is not limited to just SELECT.
upvoted 0 times
...
Selma
6 months ago
I agree. 'PREPARE' can be used for INSERT, UPDATE, DELETE besides SELECT.
upvoted 0 times
...
Goldie
6 months ago
I believe you're right. 'PREPARE' can specify other statements too.
upvoted 0 times
...
Devora
7 months ago
I think statement C is incorrect.
upvoted 0 times
...

Save Cancel