I want to fetch the 10th row of a table which has been
changed.How can I do it without going thru all the rows.

Answer Posted / m4io

DECLARE cursor_name sensitivity SCROLL CURSOR FOR
SELECT ... FROM ...

FETCH ABSOLUTE 10 FROM cursor_name

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about dbrm.

605


How will you return the number of records in table?

514


How do I copy a table in db2?

571


Explain the contention situations caused by locks?

589


What is the maximum size of a char data type in db2?

584






What is the information associated with sysibm.syslinks table?

657


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

744


How to resolve deadlock issue

17954


Describe major components of db2?

638


Explain the function done by data manager?

851


What is cascading rollback?

621


Can there be more than one cursor open for any program?

657


List out the data types available.

698


What is rct?

751


Mention data types used in db2 ?

671