ttContext
This procedure returns the context value of the
current connection as a
BINARY(8)
value. You can use the
context to correlate a unique connection to a database from the list of connections
presented by the ttStatus utility and the ttDataStoreStatus built-in procedure.
Required Privilege
This procedure requires no privilege.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is supported in TimesTen Classic.
TimesTen Scaleout applications can call this built-in procedure.
In TimesTen Scaleout, this procedure runs locally on the element from which it is called.
Syntax
ttContext()
Parameters
ttContext
has no parameters.
Result Set
ttContext
returns the result set:
Column | Type | Description |
---|---|---|
|
|
Current connection context value. |
Example
CALL ttContext ();
Note:
The context value numbers are unique only within a process. The context value number is not unique within the entire database. Therefore you may see the same context value number for different processes.
See Also