Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: How to Get Instance Name from T-SQL

    @@ServiceName would be ok if there are named instances.

    If none is available then select @@servicename results MSSQLSERVER.

    So if you are interested in only the instance name, without the servername,

    and...

Viewing post 1 (of 1 total)