Makes the current thread use a specified context. All subsequent database calls made on this thread will use this context. If more than one thread is attached to a given context, access is serialized for these threads, and they share a commit scope.
Scope
The scope of this API is limited to the immediate process.
Authorization
None
Required Connection
None
Version
sql.h
C API Syntax
int sqleAttachToCtx ( void *pCtx, void *reserved, struct sqlca *pstSqlca); |
API Parameters