﻿<?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 Instance Listelemek &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-instance-listelemek/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Thu, 26 May 2022 19:55:16 +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 Instance’leri Listelemek</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-instanceleri-listelemek</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Thu, 26 May 2022 19:55:16 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Instance Listelemek]]></category>
		<category><![CDATA[SQL Server Instance]]></category>
		<category><![CDATA[SQL Server’da Instance]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=13899</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server’da Instance’leri listelemek ilgili bilgi vermeye çalışacağım. SQL Server’da bazı durumlarda Instance’leri listelemek isteyebilirsiniz. Aşağıdaki kodu kullanarak siz de bu...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server’da Instance’leri listelemek ilgili bilgi vermeye çalışacağım.</p>
<p>SQL Server’da bazı durumlarda Instance’leri listelemek isteyebilirsiniz.</p>
<p>Aşağıdaki kodu kullanarak siz de bu işlemi rahatlıkla yapabilirsiniz.</p>
<p><strong>Kod 1 </strong></p>
<pre class="line-numbers"><code class="language-sql">DECLARE @GetInstances TABLE
(
    Value NVARCHAR(100),
    InstanceNames NVARCHAR(100),
    Data NVARCHAR(100)
);
INSERT INTO @GetInstances
EXECUTE xp_regread @rootkey = 'HKEY_LOCAL_MACHINE',
                   @key = 'SOFTWARE\Microsoft\Microsoft SQL Server',
                   @value_name = 'InstalledInstances';
SELECT InstanceNames
FROM @GetInstances;</code></pre>
<p><strong>Kod 2 </strong></p>
<pre class="line-numbers"><code class="language-sql">CREATE TABLE #GetInstances
(
    Value NVARCHAR(100),
    InstanceNames NVARCHAR(100),
    Data NVARCHAR(100)
);
INSERT INTO #GetInstances
EXECUTE xp_regread @rootkey = 'HKEY_LOCAL_MACHINE',
                   @key = 'SOFTWARE\Microsoft\Microsoft SQL Server',
                   @value_name = 'InstalledInstances';
SELECT InstanceNames
FROM #GetInstances;</code></pre>
<p>Yukarıdaki kodu çalıştırınca aşağıdakine benzer bir sonuç göreceksiniz.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-13905 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2022/05/sql-serverda-instanceleri-listelemek-1.jpg" alt="SQL Server’da Instance’leri Listelemek" width="700" height="434" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2022/05/sql-serverda-instanceleri-listelemek-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2022/05/sql-serverda-instanceleri-listelemek-1-315x195.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2022/05/sql-serverda-instanceleri-listelemek-1-484x300.jpg 484w, https://sqlserveregitimleri.com/wp-content/uploads/2022/05/sql-serverda-instanceleri-listelemek-1-218x135.jpg 218w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere Instance’leri listelemiş olduk.</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"> 260</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
