473,464 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

give me idea for this problem

I want the criteria like this.

I have 10k of rows in my table and i have to fetch first 200 rows . And
next time when i execute the same query it should fetch next 200 rows
and that should be continued .For that is there any query for my
requirement or I have to write a dynamic sql procedure for this .

In Oracle using rowid we can get the records dynamically where as in
DB2 is the facility is there or not ?
Give some guidance regarding my requirement.

Feb 28 '06 #1
1 1079
narayana wrote:
I want the criteria like this.

I have 10k of rows in my table and i have to fetch first 200 rows . And
next time when i execute the same query it should fetch next 200 rows
and that should be continued .For that is there any query for my
requirement or I have to write a dynamic sql procedure for this .


You can use the row_number() OLAP function. Samples for that are posted
here frequently.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Az Tech | last post by:
Hi people, (Sorry for the somewhat long post). I request some of the people on this group who have good experience using object-orientation in the field, to please give some good ideas for...
7
by: Fendi Baba | last post by:
The function is called from opencalendar(targetfield). Thanks for any hints on what could be the problem. .............................................................. var...
3
by: Vaddina Prakash Rao | last post by:
Hello every one, In our Linux Encoding system, a copy of helix dna producer is running ..... i wrote an applicatoin which can remotely communicate with the encoding machine ... Its function...
0
by: davidw | last post by:
All my pages are created dynamically. So I have a controlholder control, I put it in a page, and pass it some parameters, it will load control by with loadcontorl. It is a bit complex. At the...
5
by: Hasin Hayder | last post by:
I have been working with PHP for more than 3yrs (I believe still I am beginner in this category) - I was present in several interview board. Which things disappointed me most is the "lack of...
1
by: Ripendra007 | last post by:
hi all, i m doing one application of emailler which will send some campaign with some emailler..now i send this emailler to paricular user at that time i m storing the email id in database that i...
11
by: aslamhenry | last post by:
hem anyone can give me an idea on how to saparated digits using looping example please key in any 5 digits number : 56789 and the ouput is 5678 9 5678 9
0
by: aslamhenry | last post by:
aslamhe...@yahoo.com View profile More options Sep 18, 9:09 pm Newsgroups: comp.lang.c++ From: aslamhe...@yahoo.com Date: Tue, 18 Sep 2007 06:09:14 -0700 Local: Tues, Sep 18 2007 9:09 pm...
2
by: kang jia | last post by:
hi i am very new to python, and my final year project requires me to use Django framework to do application. Although now i understand their logic and some simple application exercise, yet how...
1
by: abhilash12 | last post by:
pls give me idea about single sign on
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.