Skip Headers
Oracle® TimesTen In-Memory Database Reference
Release 11.2.1

Part Number E13069-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

ttHostNameGet

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.

Required privilege

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


ttHostNameSet
"Setting Up a Replicated System" in Oracle TimesTen In-Memory Database TimesTen to TimesTen Replication Guide