HOST_NAME Function

Returns the local computer name.

Syntax

HOST_NAME()

Return Value

The computer hostname.

Example

PRINT HOST_NAME();