Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 98 of 106
Converts a V7 Lda_Def to a V8 or later service context handle.
sword OCILdaToSvcCtx ( OCISvcCtx **svchpp, 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.
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 OCISvcCtxToLda()
function.
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.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|