SQL Server/T-SQL Tutorial/System Settings/SERVICENAME
Версия от 13:46, 26 мая 2010; (обсуждение)
@@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)