SQL Notebook (logo)

HOST_NAME Function

Returns the local computer name.

Syntax

HOST_NAME()

Return Value

The computer hostname.

Examples