Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SqlArray Limit and Offset
Re: SqlArray Limit and Offset [message #7358 is a reply to message #7347] Sat, 23 December 2006 12:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
fabio wrote on Sat, 23 December 2006 04:01

I am sorry for delay.....

Limit(offset,limit) is for actual (complete) query, and work only if used at end of query.

Why store for future use?

I think not possble implement multi-level "limit" in oracle.
This Oracle eccentric method require 2 extra query with extra column (rownum as row_num1...) with unique name. It is a hard work.

I can store not directly in "text" of SqlSelect class, but in new two string like "pre_text" and "post_text" (as in my first only-thinked version of Limit() method), but it also require an adjustment of SqlSelect class.

..... i am lazy .....



Well, thinking about it even more...

Maybe we just stop at the fact that Oracle lacks support for these.

In fact, Oracle/U++ is may daily bread and I never really needed offset/limit. Somehow that is not how Oracle is used.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SqlArray::SetDistinct()
Next Topic: ODBC ?
Goto Forum:
  


Current Time: Tue Jul 08 22:39:42 CEST 2025

Total time taken to generate the page: 0.03656 seconds