<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Information of the Server in SQL Server - MSSQL Query</title>
	<atom:link href="https://mssqlquery.com/tag/information-of-the-server-in-sql-server/feed" rel="self" type="application/rss+xml" />
	<link>https://mssqlquery.com</link>
	<description>MSSQL and TSQL Programming and TSQL Examples</description>
	<lastBuildDate>Sat, 02 Apr 2022 10:02:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.2</generator>

<image>
	<url>https://mssqlquery.com/wp-content/uploads/2023/06/cropped-mssql-query-icon-32x32.png</url>
	<title>Information of the Server in SQL Server - MSSQL Query</title>
	<link>https://mssqlquery.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Getting All the Information of the Server in SQL Server</title>
		<link>https://mssqlquery.com/getting-all-the-information-of-the-server-in-sql-server</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Sat, 02 Apr 2022 10:02:43 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[All the Information of the Server in SQL Server]]></category>
		<category><![CDATA[Information of the Server in SQL Server]]></category>
		<category><![CDATA[SQL Server Information]]></category>
		<guid isPermaLink="false">https://mssqlquery.com/?p=828</guid>

					<description><![CDATA[<p>Hello everyone, In this article, I will try to give information about getting all the information about the server in SQL Server. In SQL Server, in some cases, you may want to see a lot of information about the Server. You can see this information by using the code below.&#46;&#46;&#46;</p>
<p>The post <a href="https://mssqlquery.com/getting-all-the-information-of-the-server-in-sql-server">Getting All the Information of the Server in SQL Server</a> first appeared on <a href="https://mssqlquery.com">MSSQL Query</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>In this article, I will try to give information about getting all the information about the server in SQL Server.</p>
<p>In SQL Server, in some cases, you may want to see a lot of information about the Server.</p>
<p>You can see this information by using the code below.</p>
<pre class="line-numbers"><code class="language-sql">SELECT CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server,
       CONVERT(CHAR(100), SERVERPROPERTY('ProductVersion')) AS ProductVersion,
       CONVERT(CHAR(100), SERVERPROPERTY('ProductLevel')) AS ProductLevel,
       CONVERT(CHAR(100), SERVERPROPERTY('ResourceLastUpdateDateTime')) AS ResourceLastUpdateDateTime,
       CONVERT(CHAR(100), SERVERPROPERTY('ResourceVersion')) AS ResourceVersion,
       CASE
           WHEN SERVERPROPERTY('IsIntegratedSecurityOnly') = 1 THEN
               'Integrated security'
           WHEN SERVERPROPERTY('IsIntegratedSecurityOnly') = 0 THEN
               'Not Integrated security'
       END AS IsIntegratedSecurityOnly,
       CASE
           WHEN SERVERPROPERTY('EngineEdition') = 1 THEN
               'Personal Edition'
           WHEN SERVERPROPERTY('EngineEdition') = 2 THEN
               'Standard Edition'
           WHEN SERVERPROPERTY('EngineEdition') = 3 THEN
               'Enterprise Edition'
           WHEN SERVERPROPERTY('EngineEdition') = 4 THEN
               'Express Edition'
       END AS EngineEdition,
       CONVERT(CHAR(100), SERVERPROPERTY('InstanceName')) AS InstanceName,
       CONVERT(CHAR(100), SERVERPROPERTY('ComputerNamePhysicalNetBIOS')) AS ComputerNamePhysicalNetBIOS,
       CONVERT(CHAR(100), SERVERPROPERTY('LicenseType')) AS LicenseType,
       CONVERT(CHAR(100), SERVERPROPERTY('NumLicenses')) AS NumLicenses,
       CONVERT(CHAR(100), SERVERPROPERTY('BuildClrVersion')) AS BuildClrVersion,
       CONVERT(CHAR(100), SERVERPROPERTY('Collation')) AS Collation,
       CONVERT(CHAR(100), SERVERPROPERTY('CollationID')) AS CollationID,
       CONVERT(CHAR(100), SERVERPROPERTY('ComparisonStyle')) AS ComparisonStyle,
       CASE
           WHEN CONVERT(CHAR(100), SERVERPROPERTY('EditionID')) = -1253826760 THEN
               'Desktop Edition'
           WHEN SERVERPROPERTY('EditionID') = -1592396055 THEN
               'Express Edition'
           WHEN SERVERPROPERTY('EditionID') = -1534726760 THEN
               'Standard Edition'
           WHEN SERVERPROPERTY('EditionID') = 1333529388 THEN
               'Workgroup Edition'
           WHEN SERVERPROPERTY('EditionID') = 1804890536 THEN
               'Enterprise Edition'
           WHEN SERVERPROPERTY('EditionID') = -323382091 THEN
               'Personal Edition'
           WHEN SERVERPROPERTY('EditionID') = -2117995310 THEN
               'Developer Edition'
           WHEN SERVERPROPERTY('EditionID') = 610778273 THEN
               'Enterprise Evaluation Edition'
           WHEN SERVERPROPERTY('EditionID') = 1044790755 THEN
               'Windows Embedded SQL'
           WHEN SERVERPROPERTY('EditionID') = 4161255391 THEN
               'Express Edition with Advanced Services'
       END AS ProductEdition,
       CASE
           WHEN CONVERT(CHAR(100), SERVERPROPERTY('IsClustered')) = 1 THEN
               'Clustered'
           WHEN SERVERPROPERTY('IsClustered') = 0 THEN
               'Not Clustered'
           WHEN SERVERPROPERTY('IsClustered') = NULL THEN
               'Error'
       END AS IsClustered,
       CASE
           WHEN CONVERT(CHAR(100), SERVERPROPERTY('IsFullTextInstalled')) = 1 THEN
               'Full-text is installed'
           WHEN SERVERPROPERTY('IsFullTextInstalled') = 0 THEN
               'Full-text is not installed'
           WHEN SERVERPROPERTY('IsFullTextInstalled') = NULL THEN
               'Error'
       END AS IsFullTextInstalled,
       CONVERT(CHAR(100), SERVERPROPERTY('SqlCharSet')) AS SqlCharSet,
       CONVERT(CHAR(100), SERVERPROPERTY('SqlCharSetName')) AS SqlCharSetName,
       CONVERT(CHAR(100), SERVERPROPERTY('SqlSortOrder')) AS SqlSortOrderID,
       CONVERT(CHAR(100), SERVERPROPERTY('SqlSortOrderName')) AS SqlSortOrderName
ORDER BY CONVERT(CHAR(100), SERVERPROPERTY('Servername'));</code></pre>
<p>When you run the above code, you will see a result similar to the one below.</p>
<p><img decoding="async" fetchpriority="high" class="alignnone wp-image-830 size-full" src="https://mssqlquery.com/wp-content/uploads/2022/04/getting-all-the-information-of-the-server-in-sql-server-1.jpg" alt="Getting All the Information of the Server in SQL Server" width="700" height="406" srcset="https://mssqlquery.com/wp-content/uploads/2022/04/getting-all-the-information-of-the-server-in-sql-server-1.jpg 700w, https://mssqlquery.com/wp-content/uploads/2022/04/getting-all-the-information-of-the-server-in-sql-server-1-300x174.jpg 300w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>As you can see, we have received all the information about the server.</p>
<p>Good luck to everyone in business and life.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 188</span><span class='epvc-label'> Views</span></div><p>The post <a href="https://mssqlquery.com/getting-all-the-information-of-the-server-in-sql-server">Getting All the Information of the Server in SQL Server</a> first appeared on <a href="https://mssqlquery.com">MSSQL Query</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
