﻿<?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>Son Bir Haftada Değişen Triggerların Listesi &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/son-bir-haftada-degisen-triggerlarin-listesi/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Thu, 13 Jan 2022 19:31:38 +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 Son Bir Haftada Değişen Triggerların Listesi</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Mon, 30 Dec 2019 08:39:36 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Değişen Triggerların Listesi]]></category>
		<category><![CDATA[Son Bir Haftada Değişen Triggerların Listesi]]></category>
		<category><![CDATA[SQL Server’da Son Bir Haftada Değişen Triggerların Listesi]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=8816</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server’da son bir haftada değişen triggerların listesini bulmak hakkında bilgi vereceğim. SQL Server&#8217;da bazı durumlarda kontrol amaçlı olması açısından son...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server’da son bir haftada değişen triggerların listesini bulmak hakkında bilgi vereceğim.</p>
<p>SQL Server&#8217;da bazı durumlarda kontrol amaçlı olması açısından son bir haftada değişen triggerların listesini bulmak isteyebiliriz.</p>
<p>Aşağıdaki kod yardımıyla bu işlemi rahatlıkla yapabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">SELECT sc.name AS [Şema Adı],
       OBJECT_NAME(parent_object_id) AS [Tablo Adı],
       o.name AS [Trigger Adı],
       CASE
           WHEN o.type = 'TR' THEN
               'SQL DML Trigger'
           WHEN o.type = 'TA' THEN
               'DML Assembly Trigger'
       END AS [Trigger Tipi],
       o.create_date [Trigger Oluşturulma Tarihi],
       o.modify_date [Trigger Düzenlenme Tarihi]
FROM sys.objects o
    INNER JOIN sys.schemas sc
        ON o.schema_id = sc.schema_id
WHERE (
          type = 'TR'
          OR type = 'TA'
      )
      AND
      (
          DATEDIFF(D, create_date, GETDATE()) &lt; 7
          OR DATEDIFF(D, modify_date, GETDATE()) &lt; 7
      );</code></pre>
<p>Kodu çalıştırdığınızda aşağıdaki gibi bir sonuç alacaksınız.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-8819 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/12/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi-1.jpg" alt="SQL Server’da Son Bir Haftada Değişen Triggerların Listesi" width="700" height="490" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/12/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/12/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi-1-315x221.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/12/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi-1-429x300.jpg 429w, https://sqlserveregitimleri.com/wp-content/uploads/2019/12/sql-serverda-son-bir-haftada-degisen-triggerlarin-listesi-1-193x135.jpg 193w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere son bir haftada değişen triggerlar listelenmiş oldu.</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"> 300</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
