﻿<?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>SQL Server’da Tüm Veritabanları için Yedekleme Geçmişini Öğrenme Kodları &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-serverda-tum-veritabanlari-icin-yedekleme-gecmisini-ogrenme-kodlari/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Sat, 21 Apr 2018 19:31:20 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>SQL Server’da Tüm Veritabanları için Yedekleme Geçmişini Öğrenmek</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-tum-veritabanlari-icin-yedekleme-gecmisini-ogrenmek</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 11:30:00 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server’da Tüm Veritabanları için Yedekleme Geçmişini Öğrenme Kodları]]></category>
		<category><![CDATA[SQL Server’da Tüm Veritabanları için Yedekleme Geçmişini Öğrenmek]]></category>
		<category><![CDATA[Tüm Veritabanları için Yedekleme Geçmişini Öğrenmek]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=5704</guid>

					<description><![CDATA[Herkese merhaba, Bu kısımda SQL Server’da tüm veritabanları için yedekleme geçmişini öğrenme kodları olacak. --------------------------------------------------------------------------------- -- Database Backups for all databases For last 600 days ---------------------------------------------------------------------------------...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu kısımda SQL Server’da tüm veritabanları için yedekleme geçmişini öğrenme kodları olacak.</p>
<pre class="lang:default decode:true ">--------------------------------------------------------------------------------- 
-- Database Backups for all databases For last 600 days
--------------------------------------------------------------------------------- 
SELECT  
   CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server, 
   msdb.dbo.backupset.database_name,  
   msdb.dbo.backupset.backup_start_date,  
   msdb.dbo.backupset.backup_finish_date, 
   datediff(second,msdb.dbo.backupset.backup_start_date,msdb.dbo.backupset.backup_finish_date) duration_seconds,
   msdb.dbo.backupset.expiration_date, 
        CASE WHEN backupset.type = 'D' THEN 'Full backup'
             WHEN backupset.type = 'I' THEN 'Differential'
             WHEN backupset.type = 'L' THEN 'Log'
             WHEN backupset.type = 'F' THEN 'File/Filegroup'
             WHEN backupset.type = 'G' THEN 'Differential file'
             WHEN backupset.type = 'P' THEN 'Partial'
             WHEN backupset.type = 'Q' THEN 'Differential partial'
             ELSE 'Unknown (' + backupset.type + ')'
        END AS [Backup Type],  
   msdb.dbo.backupset.backup_size,  
   msdb.dbo.backupmediafamily.logical_device_name,  
   msdb.dbo.backupmediafamily.physical_device_name,   
   msdb.dbo.backupset.name AS backupset_name, 
   msdb.dbo.backupset.description 
FROM   msdb.dbo.backupmediafamily  
   INNER JOIN msdb.dbo.backupset ON msdb.dbo.backupmediafamily.media_set_id = msdb.dbo.backupset.media_set_id 
WHERE  (CONVERT(datetime, msdb.dbo.backupset.backup_start_date, 102) &gt;= GETDATE() - 600)  
ORDER BY  
   msdb.dbo.backupset.database_name, 
   msdb.dbo.backupset.backup_finish_date
</pre>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 633</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
