ReferenceSQL FunctionsUtilityhost_nameVersion: Latest-4.1On this pageCopy as MarkdownView as Markdown/docs/sql-reference/sql-functions/utility-functions/host_name.mdOpen in ClaudeOpen in ChatGPTBrowse all docs as Markdown/llms.txthost_name Obtains the hostname of the node on which the computation is performed. Syntaxβ host_name(); Parametersβ None Return valueβ Returns a VARCHAR value. Examplesβ select host_name();+-------------+| host_name() |+-------------+| sandbox-sql |+-------------+1 row in set (0.01 sec)