HOST_NAME « System « SQL Server / T-SQL






1.returns the name of the workstation on which you are working. The syntax for the HOST_NAME function is as follows: