HOST_ID() System Function TSQL Tutorial

Host_id is an transact sql system function and return the host id.

HOST_ID() Syntax:

HOST_ID()

HOST_ID() Example:

select HOST_ID() as Host_number;

Host_number
4652

See also: T-SQL Functions -> COALESCE | HOST_NAME | ISNULL | ISNUMERIC | NULLIF