<?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>Sys Admin Tales &#187; SQL</title>
	<atom:link href="http://www.meltivore.com/category/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.meltivore.com</link>
	<description>The endless search for the Any key</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:32:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>SQL Server Management Studio Express</title>
		<link>http://www.meltivore.com/2011/sql-server-management-studio-express/</link>
		<comments>http://www.meltivore.com/2011/sql-server-management-studio-express/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 02:42:35 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=642</guid>
		<description><![CDATA[Who doesn&#8217;t love free? I certainly do. Microsoft has offered a great free version of its flagship database software, MS SQL, for quite some time now. And up until a few years ago it didn&#8217;t have a GUI front-end, but Microsoft fixed that with the release of SQL Server Management Studio Express. Now out of [...]]]></description>
			<content:encoded><![CDATA[<p>Who doesn&#8217;t love free? I certainly do. Microsoft has offered a great free version of its flagship database software, <a title="Microsoft SQL Editions" href="http://www.microsoft.com/sqlserver/en/us/editions.aspx" target="_blank">MS SQL</a>, for quite some time now. And up until a few years ago it didn&#8217;t have a GUI front-end, but Microsoft fixed that with the release of <a title="SQL Server Management Studio Express" href="http://www.microsoft.com/download/en/details.aspx?id=22985" target="_blank">SQL Server Management Studio Express</a>.</p>
<p>Now out of the box, it typically doesn&#8217;t connect, i.e. to a <a title="Windows Server Update Services" href="http://technet.microsoft.com/en-us/windowsserver/bb332157" target="_blank">WSUS</a> or <a title="Windows SharePoint Services" href="http://en.wikipedia.org/wiki/Windows_SharePoint_Services" target="_blank">WSS</a> <strong>Embedded</strong>, <strong>Compact </strong>or <strong>Windows Internal</strong> database. For security purposes they disable the <a title="Named Pipes" href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa365590(v=vs.85).aspx" target="_blank">Named Pipes</a> protocol in MS SQL and for unknown reasons the Management Studio has difficulty connecting to the SQL instance on the local server, i.e. localhost.</p>
<p>To get going with the SQL Management Studio, the Named Pipes protocol needs to be enabled. Go to <strong>Start &gt; Programs &gt; MS SQL &gt; Config Tools &gt; SQL Config Mgr</strong>, then under <strong>SQL Server Network Configuration &gt; Protocols for MSQLSERVER</strong>, double-click <strong>Named Pipes</strong>, set <strong>Enabled</strong> to <strong>Yes</strong>. Then the <strong>MS SQL Service</strong> <em>must </em>be restarted.</p>
<p><strong></strong>When you fire up the SQL Management Studio, use <span style="color: #ff0000;"><strong>\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query </strong><span style="color: #000000;">in the <strong>Server Name</strong> field, choose your <strong>Authentication</strong><strong> and click <strong>Connect</strong>.</strong></span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Free is good again.</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/sql-server-management-studio-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script Samples</title>
		<link>http://www.meltivore.com/2010/script-samples/</link>
		<comments>http://www.meltivore.com/2010/script-samples/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 03:44:10 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2003]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=444</guid>
		<description><![CDATA[There are times when I spent an inordinate amount of time looking for just the right syntax for a command or even the correct command to get the job done. Here are four I put to use in the last few months&#8230; Change Printer Spooler Service Recovery options to Restart sc failure spooler reset= 60 actions= [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when I spent an inordinate amount of time looking for just the right syntax for a command or even the correct command to get the job done. Here are four I put to use in the last few months&#8230;</p>
<p><strong>Change Printer Spooler Service Recovery options to Restart</strong><br />
sc failure spooler reset= 60 actions= restart/600/restart/600/restart/600</p>
<p><strong>Backing up an MSDE Database</strong><br />
osql -E -Q &#8220;BACKUP DATABASE mdss TO DISK= &#8216;C:\BB_DB_Backup\mdss.bak&#8217;&#8221;</p>
<p><strong>Copy Database and then Appending with Date<br />
</strong>copy t:\plandata.mdb C:\PlanDataBackup /Y</p>
<p>For /F &#8220;Tokens=1-8 Delims=.:/ &#8221; %%a In (&#8216;Echo %Date%&#8217;) Do (Set All=%%d-%%b-%%c)<br />
@For %%a in (&#8220;plandata.mdb&#8221;) do rename %%a &#8220;%%~na-%All%.mdb&#8221;</p>
<p><strong>Deleting Old OWA Logs</strong><br />
forfiles -p &#8220;C:\inetpub\logs\LogFiles\W3SVC1&#8243; -c &#8220;cmd /c echo del \&#8221;@FILE\&#8221; &amp; del \&#8221;@FILE\&#8221;" -d -21</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2010/script-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TechNet Subscription</title>
		<link>http://www.meltivore.com/2009/technet-subscription/</link>
		<comments>http://www.meltivore.com/2009/technet-subscription/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 21:14:02 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=377</guid>
		<description><![CDATA[Any Windows IT guy/gal worth their salt should have a TechNet subscription. The download-only version (the one to get) at $349 for the first year and $249 for annual renewal, is an incredible bargain. As a subscriber you get a huge array of non-expiring Microsoft software covering all their operating systems (including DOS), applications, server software and [...]]]></description>
			<content:encoded><![CDATA[<p>Any Windows IT guy/gal worth their salt should have a <a title="TechNet" href="http://technet.microsoft.com/en-us/default.aspx" target="_blank">TechNet</a> subscription. The download-only version (the <a title="Comparing TechNet Subscriptions" href="http://technet.microsoft.com/en-us/subscriptions/bb892756.aspx" target="_blank">one to get</a>) at $349 for the first year and $249 for annual renewal, is an incredible bargain.</p>
<p>As a subscriber you get a huge array of non-expiring Microsoft software covering all their operating systems (including DOS), applications, server software and early access to beta, release candidate and <a title="Software Releases" href="http://en.wikipedia.org/wiki/Software_release_life_cycle" target="_blank">RTM</a> software (I&#8217;m actually writing this on the full release version of Windows 7).</p>
<p>In addition there is access to free training, managed newsgroups and two FREE <a title="Advanced Support" href="http://support.microsoft.com/gp/Advancedef" target="_blank">Support Incidents</a> (this is worth the price of the subscription alone at $259 each).</p>
<p>I&#8217;m not trying to line the pockets of the Redmond empire, I just believe this is a great value for anyone working with/or training on Microsoft software; the benefits well outweigh the price.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2009/technet-subscription/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 Express Prerequisites</title>
		<link>http://www.meltivore.com/2009/sql-server-2008-express-prerequisites/</link>
		<comments>http://www.meltivore.com/2009/sql-server-2008-express-prerequisites/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 23:46:40 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=197</guid>
		<description><![CDATA[Last week I installed SQL Server 2008 Express on Windows Server 2008 and there&#8217;s a short list of prerequisites I had to download over a slooooow link. Hopefully this list will save someone the same pain I endured. Microsoft .NET Framework 3.5 Windows PowerShell 1.0 Windows Installer 4.5 It was smooth sailing after the prereqs [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I installed SQL Server 2008 Express on Windows Server 2008 and there&#8217;s a short list of <a href="http://www.meltivore.com/wp-content/uploads/2009/01/sql.gif"></a><a href="http://www.meltivore.com/wp-content/uploads/2009/01/sql.gif"></a>prerequisites I had to download over a slooooow link.<a href="http://www.meltivore.com/wp-content/uploads/2009/01/sql.gif"></a></p>
<p>Hopefully this list will save someone the same pain I endured.</p>
<p><a title=".Net 3.5" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&amp;displaylang=en" target="_blank">Microsoft .NET Framework 3.5</a></p>
<p><a title="Windows Power Shell" href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" target="_blank">Windows PowerShell 1.0</a></p>
<p><a title="Windows Installer 4.5" href="http://www.microsoft.com/downloadS/details.aspx?familyid=5A58B56F-60B6-4412-95B9-54D056D6F9F4&amp;displaylang=en" target="_blank">Windows Installer 4.5</a></p>
<p>It was smooth sailing after the prereqs were installed. I have to say Microsoft has done a great job as of late with their installers, they&#8217;re informative and usually include links for missing components or wizards to install features or roles. What took them so long to reach this point? It&#8217;s not like this is rocket science&#8230;or is it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2009/sql-server-2008-express-prerequisites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

