asehostname

Description

Returns the physical or virtual host on which Adaptive Server is running.

Syntax

asehostname

Parameters

None.

Examples

Example 1

Returns the Adaptive Server host name:

select asehostname()
----------------------------------- linuxkernel.sybase.com

Standards

SQL/92 and SQL/99 compliant

Permissions

Only users with the sa_role can execute asehostname.