Quantcast
Channel: Peer Wisdom » Windows
Viewing all articles
Browse latest Browse all 8

Getting Version Information of a Microsoft SQL Server Instance

$
0
0
When working on a customer's Microsoft SQL Server, it often helpful to know what edition it is and what service packs are install.  This is a Transact-SQL query that will return (almost) everything one needs to know about the SQL Server instance: SELECT SERVERPROPERTY('machinename') AS 'Server Name', SERVERPROPERTY('instancename') AS 'Instance Name', SERVERPROPERTY('productversion') AS 'SQL Server Version', SERVERPROPERTY('productlevel') AS 'Product Level', SERVERPROPERTY('edition') AS 'SQL Server Edition', SERVERPROPERTY('collation') AS 'Default Collation', SERVERPROPERTY('licensetype') AS 'License Type'; The results returned by this query are: Server Name  –  The name of the computer on which SQL Server is installed. Instance Name  –  If SQL Server was installed as the default instance, this value will be …

Continue reading


Viewing all articles
Browse latest Browse all 8

Trending Articles