returns the name of the workstation on which you are working. The syntax for the HOST_NAME function is as follows: : HOST_NAME « System « SQL Server / T-SQL






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)

 








Related examples in the same category