host_id  identity_burn_max

Chapter 2: Transact-SQL Functions

host_name

Description

Returns the current host computer name of the client process.

Syntax

host_name()

Parameters

None.

Examples

Example 1

select host_name()
------------------------------
violet

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute host_name.

See also

Function host_id





Copyright © 2005. Sybase Inc. All rights reserved. identity_burn_max

View this book as PDF