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 10 Question 55 Discussion

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

Select two SQL statements which abort a transaction.

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Mitsue
5 months ago
I don't think END aborts a transaction, Janey. I beliMitsue it just marks the end of a transaction without rolling it back.
upvoted 0 times
...
Janey
5 months ago
I'm not sure about this one. Isn't END also used to finish a transaction?
upvoted 0 times
...
Margart
5 months ago
I would also go with B) ROLLBACK. It makes sense to rollback a transaction if something goes wrong.
upvoted 0 times
...
Rikki
5 months ago
I agree with you, Tomas. ROLLBACK is commonly used to undo changes in a transaction.
upvoted 0 times
...
Tomas
5 months ago
I think the answer is B) ROLLBACK because it aborts a transaction.
upvoted 0 times
...
Hubert
5 months ago
Yeah, TRUNCATE is for deleting data, not for aborting transactions.
upvoted 0 times
...
Rhea
5 months ago
I don't think TRUNCATE aborts a transaction. It just removes all rows from a table quickly.
upvoted 0 times
...
Blondell
6 months ago
I'm not so sure about that. I think TRUNCATE can also abort a transaction.
upvoted 0 times
...
Hubert
6 months ago
I agree with Rhea. ROLLBACK and ABORT are used to abort a transaction in SQL.
upvoted 0 times
...
Rhea
7 months ago
I think the correct answers are B) ROLLBACK and D) ABORT.
upvoted 0 times
...

Save Cancel