The statement below was used to create a cursor named CSR1:DECLARE csr1 CURSOR FOR SELECT * FROM employee FOR UPDATE OF

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

The statement below was used to create a cursor named CSR1:DECLARE csr1 CURSOR FOR SELECT * FROM employee FOR UPDATE OF

Post by answerhappygod »

The statement below was used to create a cursor named CSR1:DECLARE csr1 CURSOR FOR SELECT * FROM employee FOR UPDATE OF job;When the cursor is opened, the result set contains six rows. After fetching all of the rows in the result set associated with cursor CSR1, application TEST1 needs to fetch the third row of the result set again.Which steps will allow application TEST1 to fetch the third row again?

A. FETCH ABSOLUTE 3
B. CLOSE csr1; OPEN csr1; FETCH; FETCH; FETCH
C. REOPEN csr1; FETCH; FETCH; FETCH;
D. FETCH PRIOR; FETCH PRIOR; FETCH PRIOR; FETCH PRIOR;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply