Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Returns the current local host for the current data store. The value returned is only for the current session. It is not a system-wide setting and does not persist after the current session has been disconnected.
This procedure can be used to check whether a particular store name in a scheme refers to the current host. This can be helpful when configuring replication schemes.
This procedure requires no privilege.
Syntax
ttHostnameGet()
Parameters
ttHostNameGet has no parameters.
Result set
ttHostNameGet returns the result:
Column | Type | Description |
---|---|---|
hostName |
TT_VARCHAR (200) | The current default local host setting for the data store. If a default has not been supplied then the current hostname is returned. |
Example
CALL ttHostNameGet ();
See also