<?xml version="1.0" encoding="iso-8859-9"?>
<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>Coskun SUNALI &#124; .net framework, c#, asp.net, atlas, visual studio, iis and everything else &#187; sql server</title>
	<atom:link href="http://sunali.com/tag/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunali.com</link>
	<description>Coşkun SUNALI</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:35:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Microsoft SQL Server Error 5030</title>
		<link>http://sunali.com/2009/10/08/microsoft-sql-server-error-5030/</link>
		<comments>http://sunali.com/2009/10/08/microsoft-sql-server-error-5030/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 17:17:21 +0000</pubDate>
		<dc:creator>Coskun SUNALI</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[know how]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://sunali.com/?p=421</guid>
		<description><![CDATA[So, if you are trying to change the collation of a database and getting error 5030, this is much likely because you cannot change the collation of a database when it is in Multi_User mode. In this case, you should try to run the following query. -- the following line sets the database to "Single]]></description>
			<content:encoded><![CDATA[<p>So, if you are trying to change the collation of a database and getting error 5030, this is much likely because you cannot change the collation of a database when it is in Multi_User mode. In this case, you should try to run the following query.</p>
<pre>-- the following line sets the database to "Single User" mode
ALTER DATABASE DBNAME SET SINGLE_USER WITH ROLLBACK IMMEDIATE
-- the following line sets the new collation
ALTER DATABASE DBNAME COLLATE COLLATIONNAME
-- the following line sets the database back to "Multi User" mode
ALTER DATABASE DBNAME SET MULTI_USER</pre>
<p>DBNAME: Database name<br />
COLLATIONNAME: New collation&#8217;s name. E.g.: Latin1_General_CI_AI</p>
]]></content:encoded>
			<wfw:commentRss>http://sunali.com/2009/10/08/microsoft-sql-server-error-5030/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
