* Da Martian <[EMAIL PROTECTED]> [2006-10-24 16:15]:
> It appears that DBs like oracle etc.. get the whole resultset
> into temporary memory/space and then return the query (at least
> for unions this appears true), although this is just based off
> assumptions based on observations.

What prevents you from doing the same yourself? Just collect the
data in a memory buffer as you get it, before processing it.

> Perhaps this could done as a seperate api, like
> preparewithcount() which returns the count as well.

That doesn’t seem to make sense – after all, the count can only
be returned *after* all the rows have been collected. By then you
know the count yourself anyway.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to