Using below query you can get the host name and logged user name.
Syntax
- SELECT HOST_NAME() AS Host_Name, SUSER_NAME() [User_Name]
Example

Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Using below query you can get the host name and logged user name.
Syntax

SubashPosted Sep 7, 2016, 8:16 AM
Good