<?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>A R U N &#187; MSSQL 2000, 2005, 2008</title>
	<atom:link href="http://a-r-u-n.com/b/index.php/category/technical-stuffs/microsoft-sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://a-r-u-n.com/b</link>
	<description>....God&#039;s own website....</description>
	<lastBuildDate>Sun, 05 Sep 2010 11:23:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to repair suspected mssql database</title>
		<link>http://a-r-u-n.com/b/index.php/2010/01/how-to-repair-suspected-mssql-database/</link>
		<comments>http://a-r-u-n.com/b/index.php/2010/01/how-to-repair-suspected-mssql-database/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 09:52:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL 2000, 2005, 2008]]></category>
		<category><![CDATA[How to repair suspected mssql database]]></category>
		<category><![CDATA[repair mssql database]]></category>

		<guid isPermaLink="false">http://a-r-u-n.com/b/?p=367</guid>
		<description><![CDATA[How to repair suspected mssql database- When  you connect your MSSQL server you may notice some database(s) in &#8216;suspected&#8217; mode and it doesn&#8217;t let you do anything. This is happening because of database corruption, server not properly shut down, etc..  To repair the &#8216;suspected&#8217; database you may need to run the following query in your [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How to repair suspected mssql database-</strong></p>
<p>When  you connect your MSSQL server you may notice some database(s) in &#8216;suspected&#8217; mode and it doesn&#8217;t let you do anything. This is happening because of database corruption, server not properly shut down, etc..  To repair the &#8216;suspected&#8217; database you may need to run the following query in your Query Analyzer(for SQL 2000) or Management Studio (for SQL 2005 and 2008)-</p>
<blockquote><p>EXEC sp_resetstatus <em>databasenamehere</em>;<br />
ALTER DATABASE <em>databasenamehere</em> SET EMERGENCY<br />
DBCC checkdb(<em>databasenamehere</em>)<br />
ALTER DATABASE <em>databasenamehere</em> SET SINGLE_USER WITH ROLLBACK IMMEDIATE<br />
DBCC CheckDB (<em>databasenamehere</em>, REPAIR_ALLOW_DATA_LOSS)<br />
ALTER DATABASE <em>databasenamehere</em> SET MULTI_USER</p></blockquote>
<p><em>Note: Before running the query please make sure you have taken the copy of data and transaction log files to another location.</em></p>
<p>Your database is repaired now</p>
<div><span style="font-family: Verdana; color: #ff0000;"><span style="font-size: small;"><span style="color: #007f40;">&#8220;`</span><span style="color: #ff0000;">*</span><span style="color: #007f40;"><strong>&#8220;`</strong></span><span style="font-family: verdana; color: #ff0000;"><strong>a</strong>run</span></span></span><img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/40.gif" alt="" /> <strong><span style="font-family: comic sans ms; color: #ff0000; font-size: medium;">&#8230;</span></strong></div>
]]></content:encoded>
			<wfw:commentRss>http://a-r-u-n.com/b/index.php/2010/01/how-to-repair-suspected-mssql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find the exact version of your MSSQL server</title>
		<link>http://a-r-u-n.com/b/index.php/2009/09/find-the-exact-version-of-mssql-server/</link>
		<comments>http://a-r-u-n.com/b/index.php/2009/09/find-the-exact-version-of-mssql-server/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 03:33:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL 2000, 2005, 2008]]></category>
		<category><![CDATA[MSSQL version]]></category>

		<guid isPermaLink="false">http://a-r-u-n.com/b/?p=155</guid>
		<description><![CDATA[Many people are not sure of how to find the exact version of their MSSQL server. Here&#8217;s the query to be run on SQL Query Analyzer or SQL Server Management Studio thro&#8217; new query- Find out the version of SQL Server 6.5 - SELECT @@VERSION Find out the version of SQL Server 7.0 - SELECT [...]]]></description>
			<content:encoded><![CDATA[<p>Many people are not sure of how to find the exact version of their MSSQL server. Here&#8217;s the query to be run on SQL Query Analyzer or SQL Server Management Studio thro&#8217; new query-</p>
<blockquote><p><em>Find out the version of SQL Server 6.5 -</em></p>
<p>SELECT @@VERSION</p>
<p><em>Find out the version of SQL Server 7.0 -</em></p>
<p>SELECT @@VERSION</p>
<p><em>Find out the version of SQL Server 2000 -</em></p>
<p>SELECT  SERVERPROPERTY(&#8216;productversion&#8217;), SERVERPROPERTY (&#8216;productlevel&#8217;), SERVERPROPERTY (&#8216;edition&#8217;)</p>
<p><em>Find out the version of SQL Server 2005 -</em></p>
<p>SELECT  SERVERPROPERTY(&#8216;productversion&#8217;), SERVERPROPERTY (&#8216;productlevel&#8217;), SERVERPROPERTY (&#8216;edition&#8217;)</p>
<p><em>Find out the version of SQL Server 2008 -</em></p>
<p>SELECT SERVERPROPERTY(&#8216;productversion&#8217;), SERVERPROPERTY (&#8216;productlevel&#8217;), SERVERPROPERTY (&#8216;edition&#8217;)</p></blockquote>
<div><span style="font-family: Verdana; color: #ff0000;"><span style="font-size: small;"><span style="color: #007f40;">&#8220;`</span><span style="color: #ff0000;">*</span><span style="color: #007f40;"><strong>&#8220;`</strong></span><span style="font-family: verdana; color: #ff0000;"><strong>a</strong>run</span></span></span><img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/40.gif" alt="" /> <strong><span style="font-family: comic sans ms; color: #ff0000; font-size: medium;">&#8230;</span></strong></div>
]]></content:encoded>
			<wfw:commentRss>http://a-r-u-n.com/b/index.php/2009/09/find-the-exact-version-of-mssql-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
