From: Campbell, Greg <greg.campbell@us.michelin.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Parameters.Refresh error.
Date: Sun, 08 Jan 2006 16:55:31 -0500
Message-ID: <43C18A53.2030108@us.michelin.com> (raw)
In-Reply-To: <43C13F42.9090102@us.michelin.com>
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>
oops,..goofy typing.
Is that
"Yes there is.., parameterization on a SELECT or DML statement is a valid VB/MS data access technique",..
or is that
"Yes, I or someone I know has done this is pgodbc"?
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?
>
>
>
> Adam Biser wrote:
>
>> 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.
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 3: Have you checked our extensive FAQ?
>>
>> http://www.postgresql.org/docs/faq
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
Attachments:greg.campbell.vcf (text/x-vcard, 239B) download
begin:vcard
fn:Greg Campbell
n:Campbell;Greg
org:Michelin North America - US5 Lexington;ENG-ASE
email;internet:greg.campbell@us.michelin.com
title:ASE Systems Engineer
tel;work:803-951-5561/x75561
x-mozilla-html:FALSE
version:2.1
end:vcard
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: greg.campbell@us.michelin.com
Subject: Re: Parameters.Refresh error.
In-Reply-To: <43C18A53.2030108@us.michelin.com>
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> <43C18A53.2030108@us.michelin.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