JK SQL Server Blog
SQL Server Tutorial
Monday, 25 July 2016
How to get the Host-Name in SQL server ?
You can get the Host Name in SQL server using the following function.
Syntax
HOST_NAME()
Example
Select Host_Name()
This will be very helpful if you want to trace the query using SQL server profiler.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment