Article

Enhancement Request: SELECT statement be able to return a range of result set rows from the server to the client.

« Go Back

Information

 
EnvironmentAll Supported Operating Systems
OpenEdge 11.x
Question/Problem Description

To facilitate client application pagination of query result sets, the OpenEdge SQL SELECT statement should support the specification of the range of a query result set rows to be returned by the server to the client.

Clarifying Information
This enhancement request proposes the introduction of an Oracle like ROWNUM Pseudo column to allow the execution of SELECT statements like the following:
 
SELECT * FROM employees WHERE ROWNUM > 10 AND ROWNUM < 100;
 
or
 
SELECT * FROM employees WHERE ROWNUM BETWEEN 123 and 134;

In the absence of the above capability, applications must retrieve the whole result set and implement the result set pagination programmatically on the client.  This incurs both programming and performance costs.
Error Message
Defect/Enhancement NumberEnhancement OE00219573
Cause
Currently, the SELECT statement does not support application pagination or the retrieval of a specified range of rows from the result set.

The SELECT statement  currently supports the retrieval of either the whole result set of a query, as in:

SELECT * FROM PUB.Customer;

Or the TOP n rows from a query result set, as in:

SELECT TOP * FROM PUB.Customer;
Resolution
Enhancement Request OE00219573 has been logged for this issue.
Workaround
Notes
Attachment 
Feedback
 
Was this article helpful?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful.



Characters Remaining: 255

 



Copyright © 1993-2014. Progress Software Corporation. All Rights Reserved. See the next generation of application development and data connectivity software, try now!