Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL PGCES-02 Exam - Topic 1 Question 97 Discussion

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

What happens if an SQL statement syntax error occurs while a transaction is running? Select the correct action from below.

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Anna
18 days ago
I thought it would just continue, but C makes sense.
upvoted 0 times
...
Leslee
23 days ago
C is the right answer, the transaction gets stopped.
upvoted 0 times
...
Enola
1 month ago
I’m confused about whether the connection gets terminated or if it just stops the transaction. I need to double-check that part!
upvoted 0 times
...
Carole
2 months ago
I’m leaning towards option C because I recall that you can’t run other SQL commands until you handle the error.
upvoted 0 times
...
Kristofer
2 months ago
I feel like I saw a similar question where the transaction was aborted, but I'm not entirely sure if it starts a new one automatically.
upvoted 0 times
...
Carlton
2 months ago
I think I remember that if there's a syntax error, the transaction doesn't just keep going, right?
upvoted 0 times
...

Save Cancel