DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 31st, 2007, 10:11 AM
Danidek Danidek is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 1 Danidek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 50 sec
Reputation Power: 0
What version of db2 supports rownumber()?

Hi!

I need somthing like rowmumber, but my DB2 says
"ROWNUMBER in *LIBL type *N not found"

I have V5R3. Do you think that it does not support rownumber?
I beleived that this is a trivial funcion.

In this case how can I retrieve the subset of rows from a query?

Reply With Quote
  #2  
Old August 7th, 2007, 07:56 AM
valined's Avatar
valined valined is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2004
Location: Brussels
Posts: 610 valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level)valined User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 17 h 36 m 8 sec
Reputation Power: 231
Thumbs down Stfw

Quote:
Originally Posted by Danidek
Hi!

I need somthing like rowmumber, but my DB2 says
"ROWNUMBER in *LIBL type *N not found"

I have V5R3. Do you think that it does not support rownumber?
I beleived that this is a trivial funcion.

In this case how can I retrieve the subset of rows from a query?

Read the answer at LazyDBA
__________________
"Problem" is just a bleak word for challenge. -- Richard Fish
Javalanche

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > What version of db2 supports rownumber()?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway