Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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

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

Hi,

I'm creating a software, and I have a dilemn... To check it I use MySQL, but I want my software to use a lot of kind of différent DB (oracle, DB2, informix, etc...)

But I have to know :

Does Adabas 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 07-09-04, 09:52
benboa benboa is offline
Registered User
 
Join Date: Jul 2004
Posts: 1
It seems that Adabas have RowNum

hi, have the same problem has u !
i've seen in the referencial of adabas, that it contains the predicate : rownum

<rownum predicate>
Function
limits the number of rows of a result table.
Format
<rownum predicate> ::=
ROWNUM < <rownum spec>
| ROWNUM <= <rownum spec>
<rownum spec> ::=
<unsigned integer>
| <parameter spec>


But it don't work :
---> odbc_errormsg :
[SOFTWARE AG][ODBCLIB A][ADABAS]Column not found;-4005 UNKNOWN COLUMN NAME:ROWNUM.


does anyone has already use it ?
Please help
Reply With Quote
  #3 (permalink)  
Old 07-09-04, 14:23
ffert ffert is offline
Registered User
 
Join Date: Mar 2004
Location: France
Posts: 10
How to use RowNUM

Perhaps we have to write something like this :

SELECT * FROM table WHERE (ROWNUM > 500) and (ROWNUM < 1000)

I haven't test it yet.. but.. it is perhaps the right solution...

Thanks bye..
__________________
DataBase, Delphi, php, Yes, I like....
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

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