﻿<?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>Tüm Boş Tabloların Listesini Almak &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/tum-bos-tablolarin-listesini-almak/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Mon, 13 Jun 2022 20:16:15 +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 Tüm Boş Tabloların Listesini Almak</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-tum-bos-tablolarin-listesini-almak</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Sun, 03 Apr 2022 10:37:46 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Tablolar]]></category>
		<category><![CDATA[SQL Server'da Tüm Boş Tablolar]]></category>
		<category><![CDATA[Tüm Boş Tabloların Listesini Almak]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=13475</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server&#8217;da tüm boş tabloların listesini almak hakkında bilgi vermeye çalışacağım. SQL Server&#8217;da bazı durumlarda tüm boş tabloların listesini almak isteyebilirsiniz....]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server&#8217;da tüm boş tabloların listesini almak hakkında bilgi vermeye çalışacağım.</p>
<p>SQL Server&#8217;da bazı durumlarda tüm boş tabloların listesini almak isteyebilirsiniz.</p>
<p>Aşağıdaki kodu kullanarak siz de bu işlemi rahatlıkla yapabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">s.name schema_name,
       SUM(p.rows) total_rows
FROM sys.tables t
    JOIN sys.schemas s
        ON (t.schema_id = s.schema_id)
    JOIN sys.partitions p
        ON (t.object_id = p.object_id)
WHERE p.index_id IN ( 0, 1 )
GROUP BY t.name,
         s.name
HAVING SUM(p.rows) = 0;</code></pre>
<p>Yukarıdaki kodu çalıştırdığınızda aşağıdaki sonucu göreceksiniz.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-13478 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2022/04/sql-serverda-tum-bos-tablolarin-listesini-almak-1.jpg" alt="SQL Server'da Tüm Boş Tabloların Listesini Almak" width="700" height="440" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2022/04/sql-serverda-tum-bos-tablolarin-listesini-almak-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2022/04/sql-serverda-tum-bos-tablolarin-listesini-almak-1-315x198.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2022/04/sql-serverda-tum-bos-tablolarin-listesini-almak-1-477x300.jpg 477w, https://sqlserveregitimleri.com/wp-content/uploads/2022/04/sql-serverda-tum-bos-tablolarin-listesini-almak-1-215x135.jpg 215w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere tüm boş tablolar 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"> 207</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
