In this post, I provide one script to find different SQL Server Property details like: Hostname, Instance, Edition, Version, ProductType.
The DBA can use this script to find server property details for different SQL Server.
You can also use this script to prepare a report for different SQL Server and also easily compare different SQL Server.
SERVERPROPERTY('MachineName') AS HostName
,SERVERPROPERTY('InstanceName') AS InstanceName
,SERVERPROPERTY('Edition') AS EditionInfo
,SERVERPROPERTY('ProductLevel') AS ProductType
WHEN 1 THEN 'Clustered'
END AS SQLServerType
,@@VERSION AS SQLServerVersion
Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.
If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.
I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.