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

Is db2 free?

680


What is load replace in db2?

560


How to find schema of a table in db2?

568


Name the lockable units in DB2?

661


What is the role of union all and union

646






Explain package in db2 and its advantages?

589


What are host variables in db2?

620


What is drop table?

580


Why do we bind in db2?

626


Mention data types used in db2 ?

667


What are the contents of a dclmgen?

626


What is db2 instance?

590


What is database reorganization?

587


i want to maintain uniqueness on pdf without make lf??????????

1629


in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

1620