X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1317F9DC998 for ; Fri, 27 Jan 2006 09:41:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80114-04 for ; Fri, 27 Jan 2006 09:41:14 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.206]) by postgresql.org (Postfix) with ESMTP id 1D1A69DC809 for ; Fri, 27 Jan 2006 09:41:08 -0400 (AST) Received: by uproxy.gmail.com with SMTP id s2so75312uge for ; Fri, 27 Jan 2006 05:41:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fcOb1zBZZLAR4JssN3DAjjoMTf7/uJuAbGIupPOYB1Q9WuIJudDVZS3pRFfXc8mDIRpSBQs/A/ig6AEtPtFn8Vs14trCkQx3TnZn9Fx2Wb49neD9BWDe9RUQCHKXx6a3dKekzgwWWNuBo92I6lWizuTfT6LgENZodpWjfRL942I= Received: by 10.48.244.4 with SMTP id r4mr308823nfh; Fri, 27 Jan 2006 05:41:10 -0800 (PST) Received: by 10.49.6.3 with HTTP; Fri, 27 Jan 2006 05:41:10 -0800 (PST) Message-ID: <92d3a4950601270541w6974bf2dr@mail.gmail.com> Date: Fri, 27 Jan 2006 14:41:10 +0100 From: Antoine To: pgsql-odbc@postgresql.org Subject: odbc recordset.open with adCmdTable gets entire table on call MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40759_30511185.1138369270681" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.549 required=5 tests=[AWL=-0.094, HTML_00_10=0.642, HTML_MESSAGE=0.001] X-Spam-Score: 0.549 X-Spam-Level: X-Archive-Number: 200601/274 X-Sequence-Number: 7089 ------=_Part_40759_30511185.1138369270681 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have figured out the problem to the network overload looking at the queries via ethereal. The problem is this: prec_recordset.open "my_table", my_connection, adOpenStatic, adLockOptimistic, adCmdTable returns, as the msdn suggests it should the ENTIRE table. Or does it? With Oracle we have been using this instruction and it doesn't return the data for the entire table - in fact I don't think it returns very much at all. I= s there a parameter we are missing on our connection string? Cheers Antoine -- This is where I should put some witty comment. ------=_Part_40759_30511185.1138369270681 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,
I have figured out the problem to the network overload looking at th= e queries via ethereal.
The problem is this:

prec_recordset.open = "my_table", my_connection, adOpenStatic, adLockOptimistic, adCmdT= able

returns, as the msdn suggests it should the ENTIRE ta= ble. Or does it? With Oracle we have been using this instruction and it doe= sn't return the data for the entire table - in fact I don't think it return= s very much at all. Is there a parameter we are missing on our connection s= tring?
Cheers
Antoine

--
This is where I should put some witty c= omment. ------=_Part_40759_30511185.1138369270681--