Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Using bind variables from VB via ADO

Re: Using bind variables from VB via ADO

From: Jim Kennedy <kennedy-family_at_home.com>
Date: Tue, 27 Nov 2001 17:41:01 GMT
Message-ID: <NeQM7.85255$XJ4.46382403@news1.sttln1.wa.home.com>


Use Oracle's OLE Objects (OO4O). They have a nice interface, and support bind variables which makes it very fast. Jim
"Saul Behr" <saulb.antispam_at_discoveryhealth.co.za> wrote in message news:3c0390fe$0$228_at_hades.is.co.za...
> Hi
> Does anyone know how to use Oracle bind variables from VB via ADO?
> I have a query:
>
> select MyField from MyTable where KeyField = <literal>
>
> ...which gets run quite frequently, with different values for the literal.
> I know it's more efficient to use a bind variable in place of the
literal -
> but how? What is the correct syntax?
>
> Please email me directly as well as replying to the group (Remove
> .antispam).
>
> Many thanks,
> Saul
> saulb.antispam_at_discoveryhealth.co.za
>
>
Received on Tue Nov 27 2001 - 11:41:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US