27 July 2011

how to find servername from sqlserver name using query

select host_name()


For app name:

select app_name()

No comments: