From: Matthias Weinert <confusingness@gmx.de>
To: pgsql-odbc@postgresql.org
Subject: last question.. sorry
Date: Mon, 05 Sep 2005 04:21:00 +0200
Message-ID: <431BAB8C.7040409@gmx.de> (raw)
I'm afraid, I know that i'm getting on your nerves, sorry... :(
I'm sure that you have written tons of MFC code with
CDatabase/CRecordset which uses cursors. In short words:
Database with > 20000 rows (and blobs in it), i want to use cursors to
fetch them in batchs (when the user wants to see the next batch).
But CRecordset::Open(....) always tries to get the complete statement :(
Already tried wild stuff like a simple copy from dbcore..
AFX_ODBC_CALL(::SQLExecDirect(m_hstmt, reinterpret_cast<SQLTCHAR
*>(pszSQL), SQL_NTS));
after some conversions, but of course this did not work... :)
Would be very kind if you mention some links or something like that.
(limit offset statements work, but it's not really nice...). code would
be great (for sure u wrote tons of it).
Thanks for answers...
Matthias Weinert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: confusingness@gmx.de
Subject: Re: last question.. sorry
In-Reply-To: <431BAB8C.7040409@gmx.de>
References: <431BAB8C.7040409@gmx.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox