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 AA4C79DC83C for ; Sun, 8 Jan 2006 14:18:42 -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 53179-05 for ; Sun, 8 Jan 2006 14:18:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from imf22aec.mail.bellsouth.net (imf22aec.mail.bellsouth.net [205.152.59.70]) by postgresql.org (Postfix) with ESMTP id 4C2019DC827 for ; Sun, 8 Jan 2006 14:18:38 -0400 (AST) Received: from ibm67aec.bellsouth.net ([70.146.185.252]) by imf22aec.mail.bellsouth.net with ESMTP id <20060108181838.BYOF3991.imf22aec.mail.bellsouth.net@ibm67aec.bellsouth.net> for ; Sun, 8 Jan 2006 13:18:38 -0500 Received: from [192.168.1.46] (really [70.146.185.252]) by ibm67aec.bellsouth.net with ESMTP id <20060108181838.OVGW12654.ibm67aec.bellsouth.net@[192.168.1.46]>; Sun, 8 Jan 2006 13:18:38 -0500 Message-ID: <43C15772.6080905@gmail.com> Date: Sun, 08 Jan 2006 12:18:26 -0600 From: Adam Biser User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Campbell, Greg" CC: pgsql-odbc@postgresql.org Subject: Re: Parameters.Refresh error. References: <43BAD33D.1000302@gmail.com> <20060106084609.GA7100@soptik.pzkagis.cz> <43BECB1E.4090509@gmail.com> <43BF0873.7000403@us.michelin.com> <43BF481C.3070608@gmail.com> <43C13F42.9090102@us.michelin.com> In-Reply-To: <43C13F42.9090102@us.michelin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.096 required=5 tests=[AWL=0.096] X-Spam-Score: 0.096 X-Spam-Level: X-Archive-Number: 200601/65 X-Sequence-Number: 6880 Campbell, Greg wrote: > Yes there is from the VB, data accees techniques side,.. > or yes from the I or somebody I know has done this with pgodbc side? ADO supports parameterized SQL and DB2, which I normally work with, recommends them when executing multiple statements where only the data values change because it improves performance. So the only thing I can say is that I use them with the AS/400 and that, by Googling for "parameterized sql", others appear to use them on other systems. However, I can't get this to work with pgodbc. I will post code tomorrow so you and all can see what I mean.