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 Exam PGCES-02 Topic 8 Question 85 Discussion

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

You want to create a cursor that will SELECT the "customer" table. The created cursor must be able to move in any direction and reference data even after the end of the transaction. Select one answer containing the correct keyword(s) to fill in the underlined blank below. DECLARE cursor1 __________ FOR SELECT * FROM customer;

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Goldie
9 days ago
B) SCROLL CURSOR WITH HOLD makes the most sense. I mean, who wants to be limited to just one direction, am I right?
upvoted 0 times
...
Emilio
20 days ago
Haha, D) NO SCROLL CURSOR WITH HOLD? What kind of nonsense is that? Clearly, B) is the way to go.
upvoted 0 times
...
Kattie
22 days ago
I believe it should be B) SCROLL CURSOR WITH HOLD.
upvoted 0 times
...
Virgie
23 days ago
Hmm, I thought A) CURSOR was the answer, but I guess I was wrong. Oh well, back to the drawing board!
upvoted 0 times
...
Janessa
27 days ago
I think the correct keyword is A) CURSOR.
upvoted 0 times
...
Suzan
28 days ago
B) SCROLL CURSOR WITH HOLD is definitely the right answer. This allows me to move the cursor in any direction and retain the cursor even after the transaction is over.
upvoted 0 times
...

Save Cancel