﻿<?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&#8217;da Güncellenen Tablolar &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-serverda-guncellenen-tablolar/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Sat, 05 Feb 2022 18:00:59 +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&#8217;da Güncellenen Tabloları Listelemek</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-guncellenen-tablolari-listelemek</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Sat, 13 Jul 2019 23:53:16 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Güncellenen Tabloları Listelemek]]></category>
		<category><![CDATA[SQL Server'da Güncellenen Tablolar]]></category>
		<category><![CDATA[SQL Server'da Güncellenen Tabloları Listelemek]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=6830</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server&#8217;da güncellenen tabloların nasıl listeleneceğinden bahsedeceğim. SQL Server&#8217;da bazı durumlarda hangi tablolar güncellenmiş bilinmek istenebilir. Ben işlemlerimi Northwind veritabanını kullanarak...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server&#8217;da güncellenen tabloların nasıl listeleneceğinden bahsedeceğim.</p>
<p>SQL Server&#8217;da bazı durumlarda hangi tablolar güncellenmiş bilinmek istenebilir.</p>
<p>Ben işlemlerimi Northwind veritabanını kullanarak anlatacağım.</p>
<p>Aşağıdaki sorguyu kullanarak ilgili veritabanı üzerinde bir değişiklik var mı kontrol edelim.</p>
<pre class="line-numbers"><code class="language-sql">SELECT tbl.name,
       ius.last_user_update,
       ius.user_updates,
       ius.last_user_seek,
       ius.last_user_scan,
       ius.last_user_lookup,
       ius.user_seeks,
       ius.user_scans,
       ius.user_lookups
FROM sys.dm_db_index_usage_stats ius
    INNER JOIN sys.tables tbl
        ON (tbl.object_id = ius.object_id)
WHERE ius.database_id = DB_ID();</code></pre>
<p>Sorguyu herhangi bir tabloda değişiklik yapmadan önce çağırdığımız zaman aşağıdaki gibi bir sonuç alacaksınız.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-6834 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-1.jpg" alt="SQL Server'da Güncellenen Tabloları Listelemek" width="700" height="325" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-1-315x146.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-1-646x300.jpg 646w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-1-291x135.jpg 291w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere veritabanında daha önce herhangi bir değişiklik (Insert, Update, Delete) yapmadığımız için boş geldi.</p>
<p>Şimdi <strong>Categories</strong> tablosunda <strong>CategoryID=8</strong> olan kategori için <strong>CategoryName</strong> adını <span style="color: #ff0000;"><strong>Deniz Ürünleri</strong></span> yapalım.</p>
<pre class="line-numbers"><code class="language-sql">UPDATE dbo.Categories
SET CategoryName = 'Deniz Ürünleri'
WHERE CategoryID = 8;</code></pre>
<p>Sorguyu çalıştıralım.</p>
<p><img decoding="async" class="alignnone wp-image-6835 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-2.jpg" alt="SQL Server'da Güncellenen Tabloları Listelemek" width="700" height="302" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-2.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-2-315x136.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-2-695x300.jpg 695w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-2-313x135.jpg 313w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere güncelledik. Şimdi ilk yazdığımız sorgu ile kontrol edelim.</p>
<p><img decoding="async" class="alignnone wp-image-6836 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-3.jpg" alt="SQL Server'da Güncellenen Tabloları Listelemek" width="700" height="323" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-3.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-3-315x145.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-3-650x300.jpg 650w, https://sqlserveregitimleri.com/wp-content/uploads/2019/07/sql-serverda-guncellenen-tablolari-listelemek-3-293x135.jpg 293w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere <strong>Categories</strong> tablosunda güncelleme olduğunu bize gösterdi.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 518</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
