Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / m4io

scrollable cursors
------------------
DECLARE cursor_name sensitivity SCROLL CURSOR FOR
SELECT ... FROM ...

open cursor

FETCH ABSOLUTE 100 FROM cursor_name

do 100 times
FETCH NEXT FROM cursor_name

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I copy a table in db2?

1000


What is the role of data manager in the db2 database?

1109


Mention the definition of cobol in varchar field.

1250


Give a brief description of db2 isolation levels?

1074


Explain correlated sub-queries.

1033


What is a bind in db2?

1042


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

8294


Explain about rct in db2?

1109


Why do we use cursor?

1105


Which isolation level provides highest data integrity?

1119


What is dbrm in db2 database?

1118


What is the maximum number of columns in a db2 table?

1285


How can the duplicate values be eliminated from db2 select?

1106


What is runstats and reorg in db2?

1304


What happens in bind step in a db2 program?

974