|
|
Choosing A Webhost: |
Re: How do I get x rows after ordering and grouping?: msg#00201db.maxdb
José Rómulo Elías Contreras wrote: How do I get x number of rows in a select statement after ordering and grouping? There is a two part workaround: - MaxDB uses server side cursors, so if you stop reading records after x rows, there isn't a great cost associated - most programming interfaces allow you to position to a specific record. And if you give a negative index to these methods, the position from the end of the result set is used. By positioning to row -20, you would read the last 20 rows. Daniel Dittmar -- Daniel Dittmar SAP Labs Berlin daniel.dittmar@xxxxxxx -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: no nntp accsess, Daniel Dittmar |
|---|---|
| Next by Date: | Slow select with 2 correlated subqueries., Alexei Novakov |
| Previous by Thread: | How do I get x rows after ordering and grouping?, José Rómulo Elías Contreras |
| Next by Thread: | Re: How do I get x rows after ordering and grouping?, Alexei Novakov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|