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

What is the use of with ur in db2?

1032


What is the use of predicate?

1024


Explain in detail about buffer manager and its functionalities?

1052


List down the data types in the db2 database.

1097


What is database manager in db2?

1001


How do you stop a db2 database in linux?

993


Which isolation level provides highest data integrity?

1092


How to resolve deadlock issue

20047


How to connect to db2 database from windows command line?

1037


Before you give the explain statement, what are the prerogatives?

1012


While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

2310


What are foreign keys in db2?

1082


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

1009


What is database alias db2?

1105


What is the reason behind not using select * in embedded sql programs?

1084