<?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>Thomas Maurer (tm) &#187; MS SQL Server</title>
	<atom:link href="http://www.thomasmaurer.ch/tag/ms-sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:10:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Slipstream SQL Server 2008 SP2 for SCCM 2012</title>
		<link>http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/</link>
		<comments>http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 22:23:57 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[System Center Configuration Manager 2012]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MS SQL Server 2008]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SCCM 2012]]></category>
		<category><![CDATA[Slipstream]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[System Center 2012]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3013</guid>
		<description><![CDATA[The Release Candidate version of System Center Configuration Manager 2012 requires MS SQL Server 2008 SP2 with Cumulative update package 6. Now this can be a little annoying and will hopefully change to SQL Server 2008 R2 in the RTM version. &#8230; <a href="http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/" data-count="horizontal" data-text="Slipstream SQL Server 2008 SP2 for SCCM 2012" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F12%2Fslipstream-sql-server-2008-sp2-for-sccm-2012%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-medium wp-image-3017" title="sccm" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/sccm-300x225.jpg" alt="" width="300" height="225" /></p>
<p>The Release Candidate version of <a title="System Center Configuration Manager 2012" href="http://www.microsoft.com/en-us/server-cloud/system-center/configuration-manager-2012.aspx" target="_blank">System Center Configuration Manager 2012</a> requires MS SQL Server 2008 SP2 with Cumulative update package 6. Now this can be a little annoying and will hopefully change to SQL Server 2008 R2 in the RTM version.</p>
<p>Now if you want to install MS SQL Server 2008 on a Windows Server 2008 R2 you need at least a install media with SP1. Now this post shows you how you can integrate Service Pack 2 into the install media of SQL Server 2008.</p>
<ol>
<li>Copy the SQL Server 2008 install media to C:\SQLServer2008withSP2</li>
<li>Download and copy the <a title="MS SQL Server 2008 SP2" href="http://www.microsoft.com/download/en/details.aspx?id=12548" target="_blank">SQL Server 2008 Service Pack 2 files</a> to C:\temp</li>
<li>Now you can run the following commands:
<pre>SQLServer2008SP2-KB2285068-IA64-ENU.exe /x:c:\SQLServer2008withSP2\PCU
SQLServer2008SP2-KB2285068-x64-ENU.exe /x:c:\SQLServer2008withSP2\PCU
SQLServer2008SP2-KB2285068-x86-ENU.exe /x:c:\SQLServer2008withSP2\PCUrobocopy C:\SQLServer2008withSP2\PCU c:\SQLServer2008withSP2 Setup.exe
robocopy C:\SQLServer2008withSP2\PCU c:\SQLServer2008withSP2 Setup.rll
robocopy C:\SQLServer2008withSP2\pcu\x86 C:\SQLServer2008withSP2\x86 /XF Microsoft.SQL.Chainer.PackageData.dll
robocopy C:\SQLServer2008withSP2\pcu\x64 C:\SQLServer2008withSP2\x64 /XF Microsoft.SQL.Chainer.PackageData.dll
robocopy C:\SQLServer2008withSP2\pcu\ia64 C:\SQLServer2008withSP2\ia64 /XF Microsoft.SQL.Chainer.PackageData.dllecho PCUSOURCE="C:\SQLServer2008withSP2\PCU" &gt;&gt; C:\SQLServer2008withSP2\x86\DefaultSetup.ini
echo PCUSOURCE="C:\SQLServer2008withSP2\PCU" &gt;&gt; C:\SQLServer2008withSP2\x64\DefaultSetup.ini
echo PCUSOURCE="C:\SQLServer2008withSP2\PCU" &gt;&gt; C:\SQLServer2008withSP2\ia64\DefaultSetup.ini</pre>
</li>
<li>After you have done this you can install the MS SQL Server</li>
<li>After you have installed it, you still need to download and install the <a title="CU6" href="http://support.microsoft.com/kb/2582285" target="_blank">Cumulative update package 6 for SQL Server 2008 Service Pack 2</a></li>
</ol>
<p>More about SQL Slipstreaming on <a title="MSDN Blog" href="http://blogs.msdn.com/b/petersad/archive/2009/02/25/sql-server-2008-creating-a-merged-slisptream-drop.aspx" target="_blank">Peter Saddow&#8217;s MSDN blog post</a>.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3013"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/12/slipstream-sql-server-2008-sp2-for-sccm-2012/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shrinking the Transaction Log in SQL Server 2005</title>
		<link>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2005/</link>
		<comments>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2005/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:53:44 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Microsoft SQL Server 2005]]></category>
		<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MS SQL Server 2005]]></category>
		<category><![CDATA[Shrink]]></category>
		<category><![CDATA[Shrinking]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[Transcation]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=388</guid>
		<description><![CDATA[Use the MS SQL Server Management Studio EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'TRUE' CHECKPOINT DBCC SHRINKFILE ('XXX_Log', TRUNCATEONLY) EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'FALSE' GO (replace XXX with the database name)]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2005/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2005/" data-count="horizontal" data-text="Shrinking the Transaction Log in SQL Server 2005" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F01%2Fshrinking-the-transaction-log-in-sql-server-2005%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><blockquote>
<ul>
<li>Use the MS SQL Server Management Studio</li>
</ul>
<p><code></p>
<div id="_mcePaste">
<div id="_mcePaste">EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'TRUE'</div>
<div id="_mcePaste">CHECKPOINT</div>
<div id="_mcePaste">DBCC SHRINKFILE ('XXX_Log', TRUNCATEONLY)</div>
<div id="_mcePaste">EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'FALSE'</div>
<div id="_mcePaste">GO</div>
</div>
<p></code></p>
<ul>
<li>(replace XXX with the database name)</li>
</ul>
</blockquote>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-388"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shrinking the Transaction Log in SQL Server 2000</title>
		<link>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2000/</link>
		<comments>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2000/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:48:39 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Microsoft SQL Server 2000]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[Shrinking]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Transaction Log]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=385</guid>
		<description><![CDATA[Use the SQL Query Analyzer BACKUP LOG XXX WITH TRUNCATE_ONLY GO DBCC SHRINKFILE(XXX_log, 10) GO (replace XXX with the database name)]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2000/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2000/" data-count="horizontal" data-text="Shrinking the Transaction Log in SQL Server 2000" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F01%2Fshrinking-the-transaction-log-in-sql-server-2000%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><blockquote>
<ul>
<li>Use the SQL Query Analyzer</li>
</ul>
<p><Code><br />
BACKUP LOG XXX WITH TRUNCATE_ONLY<br />
GO<br />
DBCC SHRINKFILE(XXX_log, 10)<br />
GO</code></p>
<ul>
<li>(replace XXX with the database name)</li>
</ul>
</blockquote>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-385"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/01/shrinking-the-transaction-log-in-sql-server-2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

