﻿<?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>Cannot Detach The Database &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/cannot-detach-the-database/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Fri, 18 Mar 2022 20:37:41 +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 Cannot Detach The Database Because It is Currently in Use Hatası</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-cannot-detach-the-database-because-it-is-currently-in-use-hatasi</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Wed, 19 Jun 2019 21:28:52 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Cannot Detach The Database]]></category>
		<category><![CDATA[SQL Server’da Cannot Detach The Database Because It is Currently in Use Hatası]]></category>
		<category><![CDATA[The Database Because It is Currently in Use Hatası]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=6320</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda sizlere SQL Server’da cannot detach the database because it is currently in use hatasından bahsedeceğim. Bu hata kısa ve öz olarak...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda sizlere SQL Server’da cannot detach the database because it is currently in use hatasından bahsedeceğim.</p>
<p>Bu hata kısa ve öz olarak bir veritabanını detach ederken karşımıza çıkar. Eğer veritabanı üzerinde açık herhangi  bir bağlantı mevcut ise veritabanını detach edilemez.</p>
<p>Bu hatayı çözmek için aşağıdaki kodları kendi veritabanınız için kullanabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">ALTER DATABASE VeritabanıAdin SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE VeritabanıAdin
SET SINGLE_USER
WITH ROLLBACK AFTER 60 SECONDS;
ALTER DATABASE VeritabanıAdin SET MULTI_USER;</code></pre>
<p>Kodları kendi veritabanınız için çalıştırdığınızda başarı ile detach işlemi yapacaksınız.</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"> 430</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
