473,655 Members | 3,114 Online
Bytes | Software Development & Data Engineering Community
+ 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 1092
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
2596
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 topics to include in a course on object-orientation that I'm going to conduct. (I will later summarize all the replies and discussion, for the
7
1897
by: Fendi Baba | last post by:
The function is called from opencalendar(targetfield). Thanks for any hints on what could be the problem. .............................................................. var decimalPointDelimiter = ".";
3
1312
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 include 1. Kill currently running copy of the producer and 2. Restart the producer with new settings. killing part of the producer was quite easy. But restarting it is
0
954
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 beginning, I turned of viewstate, everything work just fine. Then I need use multiview and retain data between different views. I have to turn on viewstate. Now my control doesn't persist data well. It happens like this: I put a multiview on page,...
5
2083
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 eagerness" to learn what comes new. Sometime developers thinks that learning Only PHP will help them to get lucrative jobs!! OMG Especially most of the time PHP developers plays multiple roles in the companies, they are developer, they are template...
1
1185
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 have sent this mail to particula receipient...Now the Question is i want to update my table or database when that particulr read that mail ...one thing is that when the user open that mail or say download the image that i will send with my emailler...
11
1734
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
234
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 Subject: hi can give me idea Reply | Reply to author | Forward | Print | Individual message | Show original | Remove | Report this message | Find messages by this
2
1614
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 should i start to do sign up and login page. it seems i do not have much idea. in fact, i feel i am more familiar with PHP. however , it is impossible to do in that way. can anyone give me some ideas to start up. my project time line is also very tight,...
1
1052
by: abhilash12 | last post by:
pls give me idea about single sign on
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8710
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8598
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7310
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.