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

How about combingin two queries with set operator EXCEPT,
if you have query A EXCEPT query B, the result would be A-B.

Select * from table A fetch first 200 rows only
Union except
Select * from table A fetch first 100 rows only

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between plan and package in db2?

1061


Which components manage deadlocks in db2?

1040


What is the maximum No of rows per page?

1029


How do I start db2 in windows?

1048


Is db2 a mainframe?

997


What is a collection in db2?

1002


Explain the function done by data manager?

1237


What is the physical storage length of date data type?

1204


Mention data types used in db2 ?

1124


Which component is responsible for db2 startup and shutdown?

996


What is the syntax for seeing the columns and data types of a table in the db2 database?

1114


How to create backup table in db2?

1056


What is a db2 table?

977


What are bind parameters in db2?

996


What are union and union all?

950