<?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>IT Knowledge Base &#187; MSSQL</title>
	<atom:link href="http://patrick.eviltools.com/category/it/mssql/feed/" rel="self" type="application/rss+xml" />
	<link>http://patrick.eviltools.com</link>
	<description>daily life instructions</description>
	<lastBuildDate>Wed, 07 Jul 2010 10:11:58 +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>Backup SQL Express 2005/2008</title>
		<link>http://patrick.eviltools.com/backup-sql-express-20052008/</link>
		<comments>http://patrick.eviltools.com/backup-sql-express-20052008/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:14:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[express]]></category>
		<category><![CDATA[expressmaint]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[taskplaner]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/backup-sql-express-20052008/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Unfortunately SQL Express 2005/2008 doesn’t come with a Backup Agent. So I searched the net for a couple of solutions to schedule it. There are some good TSQL scripts but a little program which you can run in Windows Task Planer. It is called ExpressMaint and can be downloaded here: <a title="http://www.sqldbatips.com/showarticle.asp?ID=29" href="http://www.sqldbatips.com/showarticle.asp?ID=29" rel="nofollow" target="_blank">Info ExpressMaint</a></p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/backup-sql-express-20052008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSSQL Login Failed</title>
		<link>http://patrick.eviltools.com/mssql-login-failed/</link>
		<comments>http://patrick.eviltools.com/mssql-login-failed/#comments</comments>
		<pubDate>Mon, 12 May 2008 05:21:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[trusted]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=21</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I tried to login to my SQL Server with a new user I created and got following error:<br />
Login failed for user &#8216;root&#8217;. The user is not associated with a trusted SQL Server connection.</p>
<p>You need to activate MS Sql Authentication and Windows Authentication Mode:<br />
1. Open MS SQL Server Manegement Studio<br />
2. Right click on the server<br />
3. Properties<br />
4. Security<br />
5. Change from Windows Authentication Mode to SQL Server and Windows Authentication mode</p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/mssql-login-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MUST_CHANGE is ON</title>
		<link>http://patrick.eviltools.com/must_change-is-on/</link>
		<comments>http://patrick.eviltools.com/must_change-is-on/#comments</comments>
		<pubDate>Mon, 12 May 2008 00:49:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[CHECK_EXPIRATION]]></category>
		<category><![CDATA[CHECK_POLICY]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Expiration]]></category>
		<category><![CDATA[MUST_CHANGE]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Policy]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=18</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I tried to remove the check_policy and check_expiration from a user and got following error in MS SQL Server:<br />
<a href='http://patrick.eviltools.com/wp-content/uploads/2008/05/must_change-is-on.jpg'><img src="http://patrick.eviltools.com/wp-content/uploads/2008/05/must_change-is-on-400x128.jpg" alt="" title="must_change-is-on" width="400" height="128" class="alignnone size-thumbnail wp-image-19" /></a></p>
<pre lang="sql">The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON.</pre>
<p>I forgot to remove the must change password flag when I created the user. A simple SQL query to change the users password solved the problem:</p>
<pre lang="bash">ALTER LOGIN %USERNAME% WITH PASSWORD='%PASSWORD%'
<pre lang="bash">
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/must_change-is-on/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Version MS SQL Server</title>
		<link>http://patrick.eviltools.com/version-ms-sql-server/</link>
		<comments>http://patrick.eviltools.com/version-ms-sql-server/#comments</comments>
		<pubDate>Wed, 07 May 2008 06:08:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=13</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Here a simple MS Query to get the version of MS SQL Server:<br />
select @@version<span class="article"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/version-ms-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
