pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Biser <adambiser@gmail.com>
To: Campbell, Greg <greg.campbell@us.michelin.com>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Parameters.Refresh error.
Date: Fri, 06 Jan 2006 22:48:28 -0600
Message-ID: <43BF481C.3070608@gmail.com> (raw)
In-Reply-To: <43BF0873.7000403@us.michelin.com>
References: <43BAD33D.1000302@gmail.com>
	<20060106084609.GA7100@soptik.pzkagis.cz>
	<43BECB1E.4090509@gmail.com>
	<43BF0873.7000403@us.michelin.com>

Campbell, Greg wrote:

> Is there a parameterized statement, without a stored procedure/user 
> defined function, that can just act against a table, like "INSERT INTO 
> mytable (fld1, file2) VALUES (?, ?)"

Yes, there is, and this is what I'm trying to use.  You set the 
.CommandType to adCmdText, I believe (I don't have the code on this 
machine).  When using .Refresh (yes, I know it's probably a bit slower 
than adding them manually), the parameters would be added 
"behind-the-scenes" according to the table(s) against which you are 
running the command.

It sounds like the whole parameters part, whether by stored procs or SQL 
are not yet implemented.



view thread (24+ messages)  latest in thread

Message-ID: <43BF481C.3070608@gmail.com>
Permalink:  ../43BF481C.3070608@gmail.com/
Also on:    postgresql.org/message-id/43BF481C.3070608@gmail.com

 · 

reply

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: adambiser@gmail.com, greg.campbell@us.michelin.com, luf@pzkagis.cz
  Subject: Re: Parameters.Refresh error.
  In-Reply-To: <43BF481C.3070608@gmail.com>
  References: <43BAD33D.1000302@gmail.com> <20060106084609.GA7100@soptik.pzkagis.cz> <43BECB1E.4090509@gmail.com> <43BF0873.7000403@us.michelin.com> <43BF481C.3070608@gmail.com>

* 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