> For the complete documentation index, see [llms.txt](https://docs.starrocks.io/llms.txt). This page is also available as Markdown at its `.md` URL.

# host_name

Obtains the hostname of the node on which the computation is performed.

## Syntax[​](#syntax "Direct link to Syntax")

```plaintext
host_name();

```

## Parameters[​](#parameters "Direct link to Parameters")

None

## Return value[​](#return-value "Direct link to Return value")

Returns a VARCHAR value.

## Examples[​](#examples "Direct link to Examples")

```plaintext
select host_name();
+-------------+
| host_name() |
+-------------+
| sandbox-sql |
+-------------+
1 row in set (0.01 sec)

```
