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

Home -> Community -> Usenet -> c.d.o.server -> Re: EXEC SQL CONNECT :userpass; and OCI8

Re: EXEC SQL CONNECT :userpass; and OCI8

From: Iain William Wiseman <bibble_at_paradise.net.nz>
Date: Thu, 01 Dec 2005 04:39:51 +1300
Message-ID: <438dc7c7@clear.net.nz>


I was very stupid answer was SQLGetSvctx()

Thanks,

Iain William Wiseman wrote:
> Hi all,
>
> I want to use the existing connection to create a service Context Handle
> from a PL/SQL connection
>
> E.g
>
> EXEC SQL CONNECT:userpass
>
> Then go and do some OCI calls.
>
> I have programmed array fetches/updates in OCI so I am very familiar
> with the OCI APIs.
>
> I normally connect with either
>
> OCILogon
> or
> OCIServerAttach
> OCISessionBegin
>
> Basically I am guessing I need to somehow convert an Lda_Def to a
> OCISvcCtx*. I have seen OCISvcCtxToLda and OCILdaToSvcCtx but I do not
> understand what to do.
>
> Help appreciated.
>
> Regards,
> Iain
Received on Wed Nov 30 2005 - 09:39:51 CST

Original text of this message

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