If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Does DB2 support LIMIT

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-24-04, 18:36
ffert ffert is offline
Registered User
 
Join Date: Mar 2004
Location: France
Posts: 10
Does DB2 support LIMIT

Hi,

I'm creating a software, and I have a dilemn... To check it I use MySQL, but I want to be use with DB2, Oracle and a lot of kind of différent DB.

But I have to know :

Does DB2 support something like that (and if not how to do it) :

SELECT fields FROM Table LIMIT 0,500

????

thank you very much for a quick answer, because All development depend of the answer !!!

thank you,
bye.
__________________
DataBase, Delphi, php, Yes, I like....
Reply With Quote
  #2 (permalink)  
Old 06-24-04, 19:10
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
no, DB2 does not support LIMIT

look in the manual for FETCH FIRST
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On