Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 104 of 106
Toggles between a V8 or later service context handle and a V7 Lda_Def.
sword OCISvcCtxToLda ( OCISvcCtx *srvhp, OCIError *errhp, Lda_Def *ldap );
The service context handle.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
A Logon Data Area for Oracle7-style OCI calls which is initialized by this call.
Toggles between an OCI release 8 or later service context handle and an Oracle7 Lda_Def.
This function can only be called after a service context has been properly initialized.
Once the service context has been translated to an Lda_Def, it can be used in release 7.x OCI calls (for example, obindps()
, ofen()
).
Note: If there are multiple service contexts which share the same server handle, only one can be in Oracle7 mode at any time.
The action of this call can be reversed by passing the resulting Lda_Def to the OCILdaToSvcCtx()
function.
The OCI_ATTR_IN_V8_MODE attribute of the server handle or service context handle enables an application to determine whether the application is currently in Oracle release 7 mode or Oracle release 8 or later mode.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|