Tutorial Gateway

  • C Language
  • Java
  • R
  • SQL
  • MySQL
  • Python
  • BI Tools
    • Informatica
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • QlikView
  • Js

SQL HOST_NAME

by suresh

The SQL HOST_NAME is one of the System Function, which will return the Workstation name. The syntax behind this is

HOST_NAME()

SQL HOST_NAME Example

Below code snippet will show you the SQL Server Workstation name.

SELECT HOST_NAME() AS 'Workstation Name'

OUTPUT

SQL HOST_NAME Example

Thank You for Visiting Our Blog

Placed Under: SQL

Stay in Touch!

Sign Up to receive Email updates on Latest Tutorials

  • C Programs
  • Java Programs
  • SQL FAQ’s
  • Python Programs
  • SSIS
  • Tableau
  • JavaScript

Copyright © 2019 | Tutorial Gateway· All Rights Reserved by Suresh

Home | About Us | Contact Us | Privacy Policy