Scenario:
Often as SQL Server DBA or SQL Server Developer we have to find the SQL Server instance name. Below query can be used to find out the SQL Server Instance name.Solution:
You can use global variables @@servername and @@sqlservicename to find out the SQL Server Instance name.
SELECT @@servername AS servername, @@ServiceName AS sqlservicename
--If SQL Server is installed in Default
ServerName SQLServiceName
YourComputerName MSSQLSERVER
ServerName SQLServiceName
YourComputerName MSSQLSERVER
--If SQL Server is intalled as Named Instance
ServerName SQLServiceName
YourComputerName\InstanceName InstanceName
ServerName SQLServiceName
YourComputerName\InstanceName InstanceName
--If SQL Server is intalled in ClusterMode
ServerName SQLServiceName
NetworkName\InstanceName InstanceName
ServerName SQLServiceName
NetworkName\InstanceName InstanceName
Mua vé tại Aivivu, tham khảo
ReplyDeletevé máy bay đi Mỹ
vé máy bay từ mỹ về việt nam hãng eva
ve may bay tu canada ve viet nam
tình hình vé máy bay từ nhật về việt nam
bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về VN
bảng giá khách sạn cách ly tại hà nội