SQL Server/T-SQL Tutorial/System Settings/SERVICENAME
@@SERVICENAME is the Windows service used to execute and maintain the current instance of SQL Server.
3>
4>
5> select @@SERVICENAME;
6> GO
--------------------------------------------------------------------------------------------------------------------------------
SQLEXPRESS
(1 rows affected)