Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Oracle / Oracle Server / November 2005

Tip: Looking for answers? Try searching our database.

EXEC SQL CONNECT :userpass; and OCI8

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Iain William Wiseman - 30 Nov 2005 05:57 GMT
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
Iain William Wiseman - 30 Nov 2005 15:39 GMT
I was very stupid answer was SQLGetSvctx()

Thanks,

> Hi all,
>
[quoted text clipped - 25 lines]
> Regards,
> Iain
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.