|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 90 of 97
Converts a V7 Lda_Def to a V8 or later service context handle.
The service context handle.
An error handle you can pass to
OCIErrorGet() for diagnostic information in the event of an error.
The Oracle7 logon data area returned by
OCISvcCtxToLda() from this service context.
Converts an Oracle7 Lda_Def to a release 8 or later service context handle. The action of this call can be reversed by passing the resulting service context handle to the
OCILdaToSvcCtx() call should be used only for resetting an Lda_Def obtained from
OCISvcCtxToLda() back to a service context handle. It cannot be used to transform an Lda_def which started as an Lda_def back to a service context handle.
If the service context has been converted to an Lda_Def, only Oracle7 calls may be used. It is illegal to make OCI release 8 or later calls without first resetting the Lda_Def to a service context.
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.