Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To retrieve 20-30 rows in DB2 table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Velmurugan_j

New User


Joined: 04 Aug 2005
Posts: 49

PostPosted: Tue Dec 27, 2005 2:35 pm    Post subject: To retrieve 20-30 rows in DB2 table
Reply with quote

Can anyone tell me how

To retrieve 20-30 rows in DB2 table



I used rownum but it is not working
Back to top
View user's profile Send private message

iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Tue Dec 27, 2005 4:24 pm    Post subject: Re: To retrieve 20-30 rows in DB2 table
Reply with quote

Hi,

Search the forum. This topic has already been discussed.


Hope this helps.
Back to top
View user's profile Send private message
bakarthikeyan

New User


Joined: 21 Sep 2005
Posts: 6

PostPosted: Wed Dec 28, 2005 2:15 pm    Post subject: Re: To retrieve 20-30 rows in DB2 table
Reply with quote

Hi Velmurugan,

What is the practical purpose of this Query?
Back to top
View user's profile Send private message
Suryanarayana.tadala

New User


Joined: 03 Nov 2005
Posts: 43
Location: St.Louis

PostPosted: Wed Dec 28, 2005 3:03 pm    Post subject: Re: To retrieve 20-30 rows in DB2 table
Reply with quote

Correct me if my understanding is wrong ... You need to get the outpout of the query to get either 20 rows or do you need the total rows of 10 starting from 20-30 in the table. Please clarify.

icon_question.gif icon_exclaim.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts Row-Numbers of distinct rows? Auryn DB2 1 Thu Oct 20, 2016 4:38 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us