SQL Server/T-SQL/System/HOST NAME
Версия от 13:46, 26 мая 2010; (обсуждение)
returns the name of the workstation on which you are working. The syntax for the HOST_NAME function is as follows:
4>
5>
6> select HOST_NAME()
7> GO
--------------------------------------------------------------------------------------------------------------------------------
J
(1 rows affected)