<?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>ServerProperty &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/serverproperty/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Wed, 11 Oct 2017 09:40:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>SQL Server: Script to find Installation Date, time and Authentication Mode</title>
		<link>https://www.dbrnd.com/2016/03/sql-server-script-to-find-installation-date-time-and-authentication-mode/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 22 Mar 2016 20:56:18 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[master.sys.syslogins]]></category>
		<category><![CDATA[ServerProperty]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=1948</guid>

					<description><![CDATA[In this post, I am sharing a TSQL script to find the installation date, time and authentication mode of SQL Server. The DBA can use below script to find the detail on server properties for different SQL Servers. You can also use this to prepare a report for different SQL Servers and can compare the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F03%2Fsql-server-script-to-find-installation-date-time-and-authentication-mode%2F&#038;title=SQL%20Server%3A%20Script%20to%20find%20Installation%20Date%2C%20time%20and%20Authentication%20Mode" data-a2a-url="https://www.dbrnd.com/2016/03/sql-server-script-to-find-installation-date-time-and-authentication-mode/" data-a2a-title="SQL Server: Script to find Installation Date, time and Authentication Mode"></a></p><p>In this post, I am sharing a TSQL script to find the installation date, time and authentication mode of SQL Server. </p>
<p>The DBA can use below script to find the detail on server properties for different SQL Servers.</p>
<p>You can also use this to prepare a report for different SQL Servers and can compare the server properties. </p>
<pre class="crayon-plain-tag">SELECT 
	createdate AS InstallationDate 
	,CASE SERVERPROPERTY('IsIntegratedSecurityOnly')   
		WHEN 1 THEN 'Windows Authentication'  
		WHEN 0 THEN 'Windows and SQL Server Authentication'  
	END AS AuthenticationMode
	,SERVERPROPERTY('servername') AS ServerName
FROM master.sys.syslogins 
WHERE name LIKE 'NT AUTHORITY\SYSTEM'</pre> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL Server: Script to find Last Backup Time for All Databases</title>
		<link>https://www.dbrnd.com/2015/10/sql-server-script-to-find-last-backup-time-for-all-databases/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 21 Oct 2015 17:39:59 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[ServerProperty]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=901</guid>

					<description><![CDATA[In this post, I am sharing a script to find status and last backup time of all databases in SQL Server. The Database Backup is one of the important tasks for the DBA. In a big integrated system, there are lots of database and DBA already set some automation and manual process for taking a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-last-backup-time-for-all-databases%2F&#038;title=SQL%20Server%3A%20Script%20to%20find%20Last%20Backup%20Time%20for%20All%20Databases" data-a2a-url="https://www.dbrnd.com/2015/10/sql-server-script-to-find-last-backup-time-for-all-databases/" data-a2a-title="SQL Server: Script to find Last Backup Time for All Databases"></a></p><p>In this post, I am sharing a script to find status and last backup time of all databases in SQL Server.<br />
The Database Backup is one of the important tasks for the DBA.</p>
<p>In a big integrated system, there are lots of database and DBA already set some automation and manual process for taking a backup.</p>
<p>But sometimes periodically, it is required to check the status of Database Backup because many times I found that our SQL Server maintenance plan did not execute properly because of an issue with: network, hard-disk.</p>
<p>Using this script DBA can easily find the status of all Database Backups.</p>
<pre class="crayon-plain-tag">SELECT 
	D.name	
	,CASE 
	   WHEN MAX(B.backup_finish_date) IS NULL 
		THEN 'Backup not taken' 
		ELSE CONVERT(VARCHAR(100),MAX(B.backup_finish_date)) 
	END AS LastBackupDate
FROM sys.databases AS D
LEFT OUTER JOIN msdb.dbo.backupset AS B 
	ON D.name = B.database_name AND B.type = 'D'
GROUP BY D.name
ORDER BY 2 DESC</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL Server: Script to find a different Server Property (Host, Instance, Edition, Version)</title>
		<link>https://www.dbrnd.com/2015/10/sql-server-script-to-find-a-different-server-property-host-instance-edition-version/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 19 Oct 2015 17:52:08 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[ServerProperty]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=898</guid>

					<description><![CDATA[In this post, I am sharing a script to find different SQL Server Properties like Hostname, Instance, Edition, Version, ProductType. The DBA can use this script to find server properties for various SQL Servers. You can also use this script to prepare a report for various SQL Servers and also easily compare the difference between [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-find-a-different-server-property-host-instance-edition-version%2F&#038;title=SQL%20Server%3A%20Script%20to%20find%20a%20different%20Server%20Property%20%28Host%2C%20Instance%2C%20Edition%2C%20Version%29" data-a2a-url="https://www.dbrnd.com/2015/10/sql-server-script-to-find-a-different-server-property-host-instance-edition-version/" data-a2a-title="SQL Server: Script to find a different Server Property (Host, Instance, Edition, Version)"></a></p><p>In this post, I am sharing a script to find different SQL Server Properties like Hostname, Instance, Edition, Version, ProductType.</p>
<p>The DBA can use this script to find server properties for various SQL Servers.<br />
You can also use this script to prepare a report for various SQL Servers and also easily compare the difference between those servers. </p>
<pre class="crayon-plain-tag">SELECT 
	SERVERPROPERTY('MachineName') AS HostName
	,SERVERPROPERTY('InstanceName') AS InstanceName
	,SERVERPROPERTY('Edition') AS EditionInfo
	,SERVERPROPERTY('ProductLevel') AS ProductType 
	,CASE SERVERPROPERTY('IsClustered') 
		WHEN 1 THEN 'Clustered' 
		ELSE 'StandAlone' 
	END AS SQLServerType
	,@@VERSION AS SQLServerVersion</pre> </p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
