Forum Replies Created

Viewing post 1 (of 1 total)

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

    Really great solution !

    a.zimnik (6/28/2011)


    @@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...

Viewing post 1 (of 1 total)