I have a table which has thousand of records i want to
fetch only record num 100 to record num 200. Write a query
that satisfies this criteria.(Cant use any keys)
Anyone please reply ASAP!

Answer Posted / sangeeta david

We can make use of Relative record number that is

Select * from Table A where RRN(A) between 100 and 200

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does db2 plan contain?

573


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

611


What is a db2 tablespace?

600


Is db2 a programming language?

606


What are the different types of base tables?

585






How do I create a view in db2?

604


How to find schema of a table in db2?

570


run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...

3790


List out the data types available.

701


What is table space in db2?

580


what is utility for parm lib

1876


what is the role of the cursor in db2?

640


What is a db2 package?

598


What is a buffer in memory?

600


What are host variables in db2?

625