Wednesday, January 08, 2014
SQL Server 2012: SELECT Machine Name, Server Name, Edition, Product Level, Product Version, Licence Type
Description
This post shows how to SELECT property information for a SQL Server.
Solution
The SELECT statement below retrieves Machine Name, Server Name, Edition, Product Level, Product Version, and License Type.
SELECT
SERVERPROPERTY('MACHINENAME') as [Machine Name],
SERVERPROPERTY('SERVERNAME') as [Server Name],
SERVERPROPERTY('EDITION') as [Edition],
SERVERPROPERTY('PRODUCTLEVEL') as [Product Level] ,
SERVERPROPERTY('PRODUCTVERSION') as [Product Version],
SERVERPROPERTY('LICENSETYPE') as [License Type]
The results of the query are shown below.
References
MSDN (2014). SERVERPROPERTY (Transact-SQL). Retrieved January 8, 2014 from http://msdn.microsoft.com/en-us/library/ms174396.aspx
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2014
(24)
-
▼
January
(15)
- SharePoint 2013: Set-SPEnterpriseSearchTopology : ...
- SharePoint 2013: How to Rename the Search Service ...
- SharePoint 2013: How to Configure the Search Servi...
- Solution for Site Collection Lock, Missing Site Se...
- SharePoint 2013: How to Configure the Machine Tran...
- SharePoint 2013: How to Configure the PerformanceP...
- SharePoint 2013: How to Configure the Word Automat...
- SharePoint 2013: How to Configure the Excel Servic...
- SharePoint 2013: How to Configure the Access Servi...
- SharePoint 2013: How to Configure the Metadata Ser...
- SharePoint 2013: How to Configure the Business Dat...
- SharePoint 2013: How to Configure the Usage Servic...
- SharePoint 2013: How to Configure Secure Store Ser...
- SQL Server 2012: SELECT Machine Name, Server Name...
- How to Associate SQL Server Login with Existing Da...
-
▼
January
(15)
Events / Conferences / User Groups
- AIIM Conference
- Boston Area SharePoint User Group
- Boston Azure User Group
- Collaborate
- DevConnections
- DevIntersection
- Enterprise Search Summit
- Microsoft Build
- Microsoft SharePoint Conference
- Microsoft TechEd
- New England ASP.NET Professionals User Group
- New England Oracle Applications User Group
- Oracle Applications User Group (OAUG)
- Oracle OpenWorld
- PeopleSoft Government Contractor Special Interest Group
- PeopleSoft Southern New England Users Group
- Quest International Users Group
- SharePoint Saturday
- SPTechCon
- SQL PASS
- SQL Saturday
- Startup Weekend
No comments:
Post a Comment