<?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>Benchmark IT Consulting</title>
	<atom:link href="http://benchmarkitconsulting.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://benchmarkitconsulting.com</link>
	<description>My Thoughts on SQL Server and anything else I can think of...</description>
	<lastBuildDate>Wed, 18 Aug 2010 14:44:38 +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>PWNED! (from beyond the grave)</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 14:41:22 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Reporting Services]]></category>
		<category><![CDATA[SSRS]]></category>
		<category><![CDATA[Subscription Owners]]></category>
		<category><![CDATA[Subscriptions]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1460</guid>
		<description><![CDATA[OK first off if you don&#8217;t know the definition of the word PWNED here is a tutorial&#8230; So now that you&#8217;re well versed on pwned or pwnage let&#8217;s talk about a way to ensure that the DBA (who we&#8217;ll call &#8220;Brent&#8221;) that left the company does not get all zombie and start eating your brain after [...]]]></description>
			<content:encoded><![CDATA[<p>OK first off if you don&#8217;t know the definition of the word PWNED here is a tutorial&#8230;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Fhb89V43KWc" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Fhb89V43KWc"></embed></object></p>
<p>So now that you&#8217;re well versed on pwned or pwnage let&#8217;s talk about a way to ensure that the DBA (who we&#8217;ll call &#8220;Brent&#8221;) that left the company does not get all zombie and start eating your brain after he&#8217;s gone.</p>
<p><strong>**RING RING RING**</strong></p>
<p>You: Hello?</p>
<p>Them: Where is my report?</p>
<p>You: How did you get this number?</p>
<p>Them: Where is my report?</p>
<p>You:  What report?</p>
<p>Them:  Wow&#8230; Brent was way smarter then you *click*</p>
<p><img class="alignnone size-full wp-image-1165" title="brmiyajkdfjdkfd" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/10/brmiyajkdfjdkfd.jpg" alt="" width="210" height="270" /></p>
<p>(and yes this is a shout out to Brent Ozar and a huge congratz to Jeremiah Peschka!!  not saying Brent would ever do this but it&#8217;s the buzz of the SQL Twitterverse this morning so I thought I had to work it in somehow <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p>The first thing to check when something goes wrong after someone has left the company is if anything could of been tied to that user&#8217;s Active Directory account because chances are they are now disabled/deleted/removed/zombified.</p>
<p>&#8220;So here&#8217;s a little script that&#8217;s mine&#8230; you might want to execute line by line&#8230; don&#8217;t worry&#8230;.. be happy.&#8221;</p>
<p>(as always any and all scripts on this blog should never be ran&#8230; k that&#8217;s a bit much&#8230; you can run it but test it, tweak it, and make sure it works for you in your environment <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>I wrote this script to not care if the instance is the default or a named instance (why you may ask? well cause I use Powershell to run this script against all my servers and return me any reports that are not owned by a particular user):</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">SET NOCOUNT ON
&nbsp;
DECLARE @InstanceName nvarchar(100)
DECLARE @ReportServerDatabaseName nvarchar(100)
DECLARE @ReportingDatabaseFoundInd bit
DECLARE @SQLSTMT nvarchar(2000)
&nbsp;
SELECT @InstanceName = @@SERVERNAME
SELECT @ReportingDatabaseFoundInd = 0
&nbsp;
IF @InstanceName = SUBSTRING(@InstanceName, ISNULL(CHARINDEX('\', @InstanceName)+1, 0), LEN(@InstanceName))
	BEGIN
		SELECT	@ReportServerDatabaseName = 'ReportServer'
	END
ELSE
	BEGIN
		SELECT	@ReportServerDatabaseName = 'ReportServer' + '$' + SUBSTRING(@InstanceName, ISNULL(CHARINDEX('\', @InstanceName)+1, 0), LEN(@InstanceName))
	END
&nbsp;
SELECT	@ReportingDatabaseFoundInd = 1
FROM	master.dbo.sysdatabases
WHERE	name = @ReportServerDatabaseName
&nbsp;
IF @ReportingDatabaseFoundInd = 1
	BEGIN
		SELECT @SQLSTMT = 'SELECT	@@SERVERNAME as [InstanceName],
									U.UserName as [SubscriptionOwner], C.[Path],
									S.[description]
							FROM	' + @ReportServerDatabaseName +
								'.dbo.subscriptions S INNER JOIN ' +
								@ReportServerDatabaseName + '.dbo.users U ON U.userid = S.ownerid INNER JOIN ' +
								@ReportServerDatabaseName + '.dbo.[Catalog] C ON S.Report_OID = C.ItemID'
		EXEC sp_executesql @SQLSTMT
	END</pre></div></div>

<p>Now if this list is a bit HUGE you can add a WHERE clause in there to look for a particular user name.</p>
<p>So now that you&#8217;ve found all the reports that are tied to the no longer existant user how do you change them?</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">DECLARE @OldID uniqueidentifier
DECLARE @NewID uniqueidentifier
SELECT @OldID = UserID FROM dbo.Users WHERE UserName = 'Domain\LoginName'
SELECT @NewID = UserID FROM dbo.Users WHERE UserName = 'Domain\LoginName'
UPDATE dbo.Subscriptions SET OwnerID = @NewID WHERE OwnerID = @OldID</pre></div></div>

<p>A gotcha to watch out for with this is that the new ID that you set the report to needs to be in the users table (in your ReportServer database) so if you want to change it to a user that is not already in there you&#8217;ll have to log in as that user and add/update/delete a report to get them in there. (There is probably an easier way but that has always worked for me)</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=PWNED%21+%28from+beyond+the+grave%29+http://tinyurl.com/22pbqem" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/&amp;title=PWNED%21+%28from+beyond+the+grave%29" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/&amp;title=PWNED%21+%28from+beyond+the+grave%29" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/&amp;title=PWNED%21+%28from+beyond+the+grave%29" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/18/pwned-from-beyond-the-grave/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog Laryngitis</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 14:52:00 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1455</guid>
		<description><![CDATA[It&#8217;s been a bit since I&#8217;ve written a blog post and just like anything else if you don&#8217;t do it, you lose it and I&#8217;m having a hard time figuring out new topics to write about.  I&#8217;ve been very busy recently but alot of what I&#8217;ve been doing has been stuff that I&#8217;ve written about [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a bit since I&#8217;ve written a blog post and just like anything else if you don&#8217;t do it, you lose it and I&#8217;m having a hard time figuring out new topics to write about.  I&#8217;ve been very busy recently but alot of what I&#8217;ve been doing has been stuff that I&#8217;ve written about before or stuff that 100 people have already posted about.</p>
<p><img class="alignnone size-full wp-image-1456" title="danger-writers-block" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/08/danger-writers-block.jpg" alt="" width="151" height="104" /></p>
<p>I&#8217;m trying to get myself back into a &#8220;blogging groove&#8221; as the summer months have sucked all ambition out of me to do anything other then spend some quality time with wifey and the kidlets.  Not that spending time with the family is a bad thing but like everything else in life it&#8217;s about balance <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So here is my first of hopefully many more blog posts to help get me started on getting my &#8220;voice&#8221; back and to get back in touch with the community that I think is the bestest out there! <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="alignnone size-full wp-image-1457" title="back" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/08/back.jpg" alt="" width="192" height="180" /></p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Blog+Laryngitis+http://tinyurl.com/2cno6ym" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/&amp;title=Blog+Laryngitis" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/&amp;title=Blog+Laryngitis" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/&amp;title=Blog+Laryngitis" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/17/blog-laryngitis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EDMPASS &#8211; August Meeting w/Aaron Nelson</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 16:12:17 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Aaron Nelson]]></category>
		<category><![CDATA[EDMPASS]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1450</guid>
		<description><![CDATA[On August 25th 2010 the Edmonton Chapter of PASS is having it’s next meeting. Details below: http://www.eventbrite.com/event/792195478 Please be sure to not only click the “Add to my calendar” but also the “Register” button so that we can plan accordingly for food and drinks.  Date:  August 25th 2010 Time: 5:00 pm &#8211; 7:00 pm Location: Stanley A. Milner library Map: 7 [...]]]></description>
			<content:encoded><![CDATA[<p>On August 25th 2010 the Edmonton Chapter of PASS is having it’s next meeting. Details below:</p>
<p><strong><a href="http://www.eventbrite.com/event/792195478" target="_blank">http://www.eventbrite.com/event/792195478</a></strong></p>
<p><strong>Please be sure to not only click the “Add to my calendar” but also the “Register” button so that we can plan accordingly for food and drinks.</strong> </p>
<p><strong>Date:</strong>  August 25th 2010<br />
<strong>Time:</strong> 5:00 pm &#8211; 7:00 pm<br />
<strong>Location:</strong> Stanley A. Milner library<br />
<strong>Map:</strong> <a href="http://www.mapquest.com/maps/map.adp?formtype=address&amp;country=CA&amp;popflag=0&amp;latitude=&amp;longitude=&amp;name=&amp;phone=&amp;level=&amp;addtohistory=&amp;cat=&amp;address=7+Sir+Winston+Churchill+Square+NW&amp;city=Edmonton&amp;state=AB&amp;zipcode=" target="_blank">7 Sir Winston Churchill Square</a><br />
<strong>Meeting Room:</strong> <strong>Centennial Room &#8211; Basement</strong><br />
<strong>Speaker:</strong> Aaron Nelson<br />
<strong>Topic:</strong> Powershell for Database Professionals</p>
<p><strong>Session Abstract:</strong></p>
<p>In this session we will begin exploring the amazing world of the PowerShell language. We will learn to perform several everyday DBA tasks like backing up user databases, scripting table objects and evaluating disk space usage with PowerShell; then we will change these into multi-server scripts by adding only a single line of code.  We will also take a look at some data visualization techniques that require only a small amount of code.  Only a basic understanding of PowerShell or DOS is needed. This session should serve as a good introduction to PowerShell for database users.  The goal is to get data professionals feet wet about PowerShell and ready to practice it when they leave.  Yes you will get a copy of the scripts I use.</p>
<p><strong>Presenter Information:</strong>  Aaron Nelson (<a href="http://twitter.com/SQLvariant" target="_blank">@SQLvariant</a>)  <a href="http://sqlvariant.com/wordpress/" target="_blank">sqlvariant.com/wordpress/</a><br />
Aaron Nelson is a Senior SQL Server Architect with over 10 years experience in architecture, business intelligence, development, and performance tuning of SQL Server.<br />
He has experience managing enterprise-wide data needs in both transactional and data warehouse environments.  Aaron holds certifications for MCITP: Business Intelligence Developer, Database Administrator, Database Developer; as well as MCTS: Windows Server Virtualization, Configuration (meaning Hyper-V).</p>
<p><strong>Agenda:<br />
</strong>5:00 pm &#8211; Pizza and Socializing<br />
5:30 pm &#8211; Sponsor Presentation<br />
5:45 pm &#8211; Feature Presentation<br />
7:00 pm &#8211; Wrap Up and Draws</p>
<p>If you haven’t signed up already at <a href="http://edmpass.com/?page_id=7" target="_blank">EDMPASS.com</a> please do so now to receive meeting notifications, news, and updates from EDMPASS.</p>
<p>Hope to see you there.</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=EDMPASS+%26%238211%3B+August+Meeting+w%2FAaron+Nelson+http://tinyurl.com/326rmxe" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/&amp;title=EDMPASS+%26%238211%3B+August+Meeting+w%2FAaron+Nelson" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/&amp;title=EDMPASS+%26%238211%3B+August+Meeting+w%2FAaron+Nelson" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/&amp;title=EDMPASS+%26%238211%3B+August+Meeting+w%2FAaron+Nelson" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/08/06/edmpass-august-meeting-waaron-nelson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PASS Summit 2010&#8230; I just can&#8217;t say no</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 18:50:05 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[BenchmarkIT]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Summit]]></category>
		<category><![CDATA[Summit 2010]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1430</guid>
		<description><![CDATA[As some of you know my sister-in-law is getting married in the Dominican this November and I&#8217;ve been having an inner battle about whether or not the Summit would be in the cards for me in 2010.  After some thought and weighing my options I&#8217;ve come to the conclusion that I just can&#8217;t miss the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1431" title="scale" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/07/scale.png" alt="" width="180" height="116" /></p>
<p>As some of you know my sister-in-law is getting married in the Dominican this November and I&#8217;ve been having an inner battle about whether or not the Summit would be in the cards for me in 2010.  After some thought and weighing my options I&#8217;ve come to the conclusion that I just can&#8217;t miss the Summit.  Well&#8230; can&#8217;t miss SOME of the Summit I guess.</p>
<p><img class="alignnone size-full wp-image-1432" title="aircanada" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/07/aircanada.jpg" alt="" width="270" height="176" /></p>
<p>I&#8217;ll be flying into Seattle on the Sunday (Nov 7th) and flying out in the evening on the Wednesday (Nov 10th)&#8230; I know I&#8217;ll be missing a whole day of sessions on the Thursday (and the post-cons on the Friday) but this is the only way I could make it work.  Lucky for me as the chapter president for EDMPASS I&#8217;ll get the DVDs so I can be sure to catch all the Friday sessions I missed&#8230; yeah it&#8217;s not live but it&#8217;s better then not seeing them at all.</p>
<p>I can&#8217;t remember the last time I&#8217;ve been away from work for 2 weeks&#8230; I think the last time I took 2 weeks  off was for the birth of my son (4 years ago this August).  That&#8217;s how important the Summit is to me professionally and personally.  Last year was my first Summit and I can&#8217;t say enough about how great the speakers and SQL community is.  I&#8217;ll be attending my first ever pre-con this year (I figured if I&#8217;m missng  a whole day on Thursday that I should get in a &#8220;deep dive&#8221; pre-con session on the Monday).</p>
<p><img class="alignnone size-full wp-image-1433" title="PASS Summit Crest_small" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/07/PASS-Summit-Crest_small.jpg" alt="" width="147" height="80" />   +  <img class="alignnone size-full wp-image-1434" title="0-dominican-republic_master" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/07/0-dominican-republic_master.jpg" alt="" width="268" height="208" /></p>
<p>November is looking like it&#8217;s gonna be a crazy month but it&#8217;s a good crazy, quality time with the family (and my first ever ocean&#8230; I know&#8230; how lame and I? LOL) mixed in with quality time with some of my favorite SQL geeks&#8230; look out Seattle <a href="http://twitter.com/BenchmarkIT" target="_blank">@BenchmarkIT</a> is coming back to town&#8230;..</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=PASS+Summit+2010%26%238230%3B+I+just+can%26%238217%3Bt+say+no+http://tinyurl.com/2vndn6x" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/&amp;title=PASS+Summit+2010%26%238230%3B+I+just+can%26%238217%3Bt+say+no" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/&amp;title=PASS+Summit+2010%26%238230%3B+I+just+can%26%238217%3Bt+say+no" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/&amp;title=PASS+Summit+2010%26%238230%3B+I+just+can%26%238217%3Bt+say+no" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/07/15/pass-summit-2010-i-just-cant-say-no/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hi I&#8217;m Policy Based Management&#8230; Remember me?</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 14:30:19 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[BPA]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1427</guid>
		<description><![CDATA[Microsoft released the SQL Server 2008 R2 Best Practices Analyzer last week and I&#8217;m not going to lie I was quite shocked.  I&#8217;ve yet to give it a test drive but the first thing that came to my head was&#8230; Why wouldn&#8217;t they just release a PSP? No not THAT kind of PSP&#8230;. PSP is [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft released the <a href="http://blogs.msdn.com/b/sqlreleaseservices/archive/2010/06/19/sql-server-2008-r2-best-practices-analyzer-is-now-available.aspx" target="_blank">SQL Server 2008 R2 Best Practices Analyzer </a>last week and I&#8217;m not going to lie I was quite shocked.  I&#8217;ve yet to give it a test drive but the first thing that came to my head was&#8230;</p>
<p>Why wouldn&#8217;t they just release a PSP?</p>
<p><img class="alignnone size-full wp-image-1428" title="psp_skype_1" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/06/psp_skype_1.jpg" alt="" width="276" height="207" /></p>
<p>No not THAT kind of PSP&#8230;. PSP is my acronym for &#8220;Policy Service Pack&#8221;</p>
<p>Policy Based Management is/was/should be the replacement for the Best Practices Analyzer so why now are we bringing the BPA back?  To me it would just make more sense to release some additional policies to add to the 50+ &#8220;Best Practice&#8221; policies that already are included with SQL Server 2008.</p>
<p>Now granted (as mentioned above) I have yet to install and give it a test drive so perhaps I&#8217;m missing something but in my opinion releasing this tool will affect the adoption rate of DBAs using Policy Based Management.</p>
<p>I&#8217;m downloading and installing now&#8230;. follow up blog to come</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Hi+I%26%238217%3Bm+Policy+Based+Management%26%238230%3B+Remember+me%3F+http://tinyurl.com/38tmoq4" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/&amp;title=Hi+I%26%238217%3Bm+Policy+Based+Management%26%238230%3B+Remember+me%3F" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/&amp;title=Hi+I%26%238217%3Bm+Policy+Based+Management%26%238230%3B+Remember+me%3F" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/&amp;title=Hi+I%26%238217%3Bm+Policy+Based+Management%26%238230%3B+Remember+me%3F" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/22/hi-im-policy-based-management-remember-me/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oracle for the SQL DBA&#8230; Part 1 of a bunch LOL</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 17:07:50 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle for SQL DBA]]></category>
		<category><![CDATA[Perform Recovery]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1420</guid>
		<description><![CDATA[So i&#8217;ve been a bit quiet lately as things have been very crazy in my world&#8230; which is good cause that means I&#8217;m staying busy and out of trouble but I thought I would drop a quick horribly long blog about some of the stuff I&#8217;m working on right now.  One thing that seems to [...]]]></description>
			<content:encoded><![CDATA[<p>So i&#8217;ve been a bit quiet lately as things have been very crazy in my world&#8230; which is good cause that means I&#8217;m staying busy and out of trouble but I thought I would drop a <span style="text-decoration: line-through;">quick</span> horribly long blog about some of the stuff I&#8217;m working on right now.  One thing that seems to of landed on my plate is doing some Oracle DBA type stuff. </p>
<p><img class="alignnone size-full wp-image-1421" title="ewwjkjkcs" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/06/ewwjkjkcs.jpg" alt="" width="108" height="108" /></p>
<p>Now I am <strong><span style="text-decoration: underline;">NOT</span></strong> an Oracle DBA and this post will prove that so if you are an Oracle DBA and have something easier then my final &#8220;solution&#8221; please drop me some comments cause this seems way to painful to be the &#8220;right&#8221; way LOL.  As much as I&#8217;m an evangelist for SQL Server I&#8217;m wanting to learn more and more Oracle because you never know when something will get thrown over the fence right?</p>
<p>The following &#8220;use-case&#8221; came my way&#8230; &#8220;We&#8217;d like to have a fresh copy of our PROD database over to a new DEV database leaving the original DEV database intact&#8221;.</p>
<p>Seems easy enough&#8230; in my SQL Server environment I would restore from last nights backup of production and specify a new database name and filenames, paths, etc during the restore and bippidy-boppidy-bo we&#8217;re done like dinner.</p>
<p>This is where my journey of pain begins LOL (this is a long journey so feel free to skip to the end for my final solution or laugh at me along the way for your cruel fun and enjoyment hahaha)</p>
<p>I applied the logic I would use in SQL Server and thought about doing a &#8220;Database Recovery&#8221; using the Oracle Enterprise Manager 10G.  Hmmmm in order to use Enterprise Manager you need to be logged into a database instance though&#8230; I can&#8217;t log into an instance because I&#8217;m trying to restore one&#8230; I can&#8217;t restore one cause I can&#8217;t log into an instance&#8230; I can&#8217;t log into an instance because I&#8217;m trying to restore one&#8230; I can&#8217;t restore one cause I can&#8217;t log into an instance&#8230; *sigh*</p>
<p>Next stop&#8230; Database Configuration Assistant.  I thought I might find something useful there&#8230;. and I kind of did with &#8220;Create a Database&#8221;.  So I created a general purpose database cause I thought it&#8217;ll just be a place holder for my restore anyways so next, next, next, next, finish.  BOOYEAH! New database created.  For the sake of this post we&#8217;ll call this MYDBDEV2.</p>
<p>OK back to Enterprise Manager&#8230; and I start down the road of recovery</p>
<p><img class="alignnone size-full wp-image-1422" title="aaadrecv" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/06/aaadrecv.jpg" alt="" width="162" height="162" /></p>
<p>(Guilty Pleasure = Eminem)</p>
<p>So I go to perform a Whole Database Recovery and Enterprise Manager gives me this&#8230;</p>
<p><em>&#8220;The database will be shut down and brought to the NOMOUNT (STARTED) state to restore the control file first. Are you sure you want to shut down the database now?&#8221;</em></p>
<p>Sure&#8230; that sounds good.</p>
<p>OK so back to &#8220;Perform a Whole Database Recovery&#8221;&#8230; Can I just take a moment to complain about the &#8220;save as preferred&#8221; checkbox that NEVER saves&#8230; I digress lol</p>
<p>OK so I go to restore &#8220;Directly from a specified backup&#8221; and enter in the path to my backup file and my next stop is: &#8220;<em>The operation for restoring the controlfile may take some time to complete. Are you sure you want to execute it now?&#8221;</em></p>
<p>Sure&#8230; that sounds good.  (All the Oracle folks reading this at this point I&#8217;m sure are laughing&#8230; but that&#8217;s fine LOL I can laugh now too about it)</p>
<p><img class="alignnone size-full wp-image-1423" title="er1" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/06/er1.jpg" alt="" width="514" height="170" /></p>
<p>Hmmmm so I viewed the details and it tells me&#8230;<em> &#8220;ORA-01103: database name &#8216;MYDBPROD&#8217; in control file is not &#8216;MYDBDEV2&#8242;&#8221;</em></p>
<p>*sigh* well yes I know that&#8230; so we&#8217;ll fast forward through the rest a bit here and give the quick run down of the rest of my pain before what I finally came up with that worked&#8230; so here we go:</p>
<ul>
<li>Deleted MYDBDEV2 and created a new database named the same name as the production database MYDBPROD</li>
<li>That failed because I didn&#8217;t have the same file structure</li>
<li>I used a &#8220;database template&#8221; of MYDBPROD to create a database called MYDBPROD on the DEV server</li>
<li>I restored overtop of the MYDBPROD on the DEV server with a backup but that wouldn&#8217;t start cause my REDOLOGs were wrong</li>
<li>Deleted the REDOLOGs and it started up</li>
<li>Then the TEMP01.DBF file was giving me problems</li>
<li>Added a new TEMP.DBF file, set it to default, dropped the old TEMP01.DBF file</li>
<li>Went through a bunch of pain with NID command to rename the database</li>
<li>I mean a BUNCH of pain</li>
<li>MEGA, MEGA PAIN</li>
<li>Eventually got it to work</li>
</ul>
<p><img class="alignnone size-full wp-image-1424" title="1oahdslk" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/06/1oahdslk.jpg" alt="" width="230" height="123" /></p>
<p>WOW&#8230;. ouch.</p>
<p>I then started playing around with the &#8220;Clone Database&#8221; tool in Enterprise Manager and here is what my final solution/steps look like: (This is where I want Oracle DBAs to comment on an easier/better solution LOL)</p>
<p><strong>MY FINAL SOLUTION</strong> (for now LOL)</p>
<ul>
<li>Create a new database (from a template of PROD) on the DEV server named the same as the database on the PROD server</li>
<li>Perform a recovery and restore the PROD backup over top of the DEV databases (that&#8217;s named the same as the PROD database)</li>
<li>Clone the DEV database that&#8217;s named the same as the PROD database and give it the name you want MYDBDEV2</li>
<li>Delete the DEV database that&#8217;s named the same as the PROD database</li>
</ul>
<p> This CAN&#8217;T be the best way to do this&#8230; I just don&#8217;t believe it.  So all you Oracle DBAs out there&#8230; you&#8217;ve had a good laugh at my expense LOL drop me some comments and help me help you (well I&#8217;m not actually helping you so that doesn&#8217;t really apply&#8230;but your help would be greatly appreciated :) )</p>
<p>In all honesty this was a really fun exercise for me.  It&#8217;s nice to go into something totally blind and plug your way through it, get to a solution, find a better one, and keep on refining the process.  I learned a tonne of stuff and am wanting to do and learn more and more! <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Oracle is like how PowerShell is/was for me&#8230; it&#8217;s fun to learn stuff that you don&#8217;t have a background in and after 13 years working with SQL Server I still learn new things but it&#8217;s a total different feeling with something so foreign to me.</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Oracle+for+the+SQL+DBA%26%238230%3B+Part+1+of+a+bunch+LOL+http://tinyurl.com/25xadmg" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/&amp;title=Oracle+for+the+SQL+DBA%26%238230%3B+Part+1+of+a+bunch+LOL" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/&amp;title=Oracle+for+the+SQL+DBA%26%238230%3B+Part+1+of+a+bunch+LOL" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/&amp;title=Oracle+for+the+SQL+DBA%26%238230%3B+Part+1+of+a+bunch+LOL" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/06/11/oracle-for-the-sql-dba-part-1-of-a-bunch-lol/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>EDMPASS July Meeting w/Brent Ozar #YEG</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/#comments</comments>
		<pubDate>Mon, 31 May 2010 20:09:37 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Brent Ozar]]></category>
		<category><![CDATA[EDMPASS]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1415</guid>
		<description><![CDATA[On July 7th 2010 the Edmonton Chapter of PASS is having it’s next meeting. Details below: http://www.eventbrite.com/event/686883487 Please be sure to not only click the “Add to my calendar” but also the “Register” button so that we can plan accordingly for food and drinks.  Date:  July 7th 2010 Time: 5:00 pm &#8211; 7:00 pm Location: Stanley A. Milner library Map: [...]]]></description>
			<content:encoded><![CDATA[<p>On July 7th 2010 the Edmonton Chapter of PASS is having it’s next meeting. Details below:</p>
<p><a href="http://www.eventbrite.com/event/686883487" target="_blank">http://www.eventbrite.com/event/686883487</a></p>
<p><strong>Please be sure to not only click the “Add to my calendar” but also the “Register” button so that we can plan accordingly for food and drinks.</strong> </p>
<p><strong>Date:</strong>  July 7th 2010<br />
<strong>Time:</strong> 5:00 pm &#8211; 7:00 pm<br />
<strong>Location:</strong> Stanley A. Milner library<br />
<strong>Map:</strong> <a href="http://www.mapquest.com/maps/map.adp?formtype=address&amp;country=CA&amp;popflag=0&amp;latitude=&amp;longitude=&amp;name=&amp;phone=&amp;level=&amp;addtohistory=&amp;cat=&amp;address=7+Sir+Winston+Churchill+Square+NW&amp;city=Edmonton&amp;state=AB&amp;zipcode=" target="_blank">7 Sir Winston Churchill Square</a><br />
<strong>Meeting Room:</strong> <strong>Centennial Room &#8211; Basement</strong><br />
<strong>Speaker:</strong> Brent Ozar<br />
<strong>Topic:</strong> Virtualization and Magicians: Dealing with Virtual SQL Server</p>
<p><strong>Session Abstract:</strong></p>
<h3>Virtualization and Magicians: Dealing with Virtual SQL Server</h3>
<div>So the sysadmins told you they’ve learned a few tricks, and they’re going to virtualize your database servers. In this session, we’ll talk about our real-world experiences with virtual SQL Servers and how to help the sysadmins avoid implementation mistakes that will saw SQL Server’s performance in half.</div>
<ul>
<li>How to configure CPU, memory and storage for virtual environments</li>
<li>How to benchmark your servers and make sure they’ll handle your loads</li>
<li>Common pitfalls like antivirus definition downloads that can cripple your servers</li>
<li>What to watch for after V-day</li>
</ul>
<p><strong>Presenter Information:</strong>  Brent Ozar</p>
<p>Brent is a SQL Server Domain Expert with Quest Software. Brent has a decade of broad IT experience, performing systems administration and project management before moving into database administration. In his current role, Brent specializes in performance tuning, disaster recovery and automating SQL Server management. Previously, Brent spent 2 years at Southern Wine &amp; Spirits, a Miami-based wine &amp; spirits distributor.</p>
<p>Brent has experience conducting training sessions, has written several technical articles, and blogs prolifically at <a href="http://www.brentozar.com/" target="_blank">http://www.BrentOzar.com</a>. He’s currently writing SQL Server Internals and Troubleshooting for Wiley/Wrox along with Christian Bolton, and Justin Langford.  He’s Editor-in-Chief at SQLServerPedia.com, where he also records video podcasts.</p>
<p><strong>Agenda:<br />
</strong>5:00 pm &#8211; Pizza and Socializing<br />
5:30 pm &#8211; Sponsor Presentation<br />
5:45 pm &#8211; Feature Presentation<br />
7:00 pm &#8211; Wrap Up and Draws</p>
<p>If you haven’t signed up already at <a href="http://edmpass.com/?page_id=7" target="_blank">EDMPASS.com</a> please do so now to receive meeting notifications, news, and updates from EDMPASS.</p>
<p>Hope to see you there.</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=EDMPASS+July+Meeting+w%2FBrent+Ozar+%23YEG+http://tinyurl.com/2wrhsqk" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/&amp;title=EDMPASS+July+Meeting+w%2FBrent+Ozar+%23YEG" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/&amp;title=EDMPASS+July+Meeting+w%2FBrent+Ozar+%23YEG" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/&amp;title=EDMPASS+July+Meeting+w%2FBrent+Ozar+%23YEG" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/31/edmpass-july-meeting-wbrent-ozar-yeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EDMPASS Meeting Tomorrow #YEG</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/#comments</comments>
		<pubDate>Tue, 25 May 2010 14:16:10 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[EDMPASS]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1411</guid>
		<description><![CDATA[Tomorrow the Edmonton Chapter of PASS is having it&#8217;s next meeting. Details below: http://www.eventbrite.com/event/623637316 Date: May 26th 2010 Time: 5:00 pm &#8211; 7:00 pm Location: Stanley A. Milner library Map: 7 Sir Winston Churchill Square Meeting Room: Centennial Room &#8211; BASEMENT Speaker: Colin Stasiuk Topic: Policy Based Management&#8230; not JUST for SQL Server 2008 Session [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow the Edmonton Chapter of PASS is having it&#8217;s next meeting. Details below:</p>
<p><strong><a href="http://www.eventbrite.com/event/623637316" target="_blank">http://www.eventbrite.com/event/623637316</a></strong></p>
<p><strong>Date:</strong> May 26th 2010<br />
<strong>Time:</strong> 5:00 pm &#8211; 7:00 pm<br />
<strong>Location:</strong> Stanley A. Milner library<br />
<strong>Map:</strong> <a href="http://www.mapquest.com/maps/map.adp?formtype=address&amp;country=CA&amp;popflag=0&amp;latitude=&amp;longitude=&amp;name=&amp;phone=&amp;level=&amp;addtohistory=&amp;cat=&amp;address=7+Sir+Winston+Churchill+Square+NW&amp;city=Edmonton&amp;state=AB&amp;zipcode=" target="_blank"><span style="color: #0000ff;">7 Sir Winston Churchill Square</span></a><br />
<strong>Meeting Room:</strong> <span style="color: #ff6600;"><strong>Centennial Room &#8211; BASEMENT</strong></span><br />
<strong>Speaker:</strong> Colin Stasiuk<br />
<strong>Topic:</strong> Policy Based Management&#8230; not JUST for SQL Server 2008</p>
<p><strong>Session Abstract:</strong></p>
<h3>Policy Based Management&#8230; not JUST for SQL Server 2008</h3>
<div>In this live session we&#8217;re going to be getting a quick overview of Policy Based Management for the people who are not familar with it but then the &#8220;guts&#8221; of the presentation will be showing how to work with Policy Based Management in previous versions of SQL Server (2000 and 2005).</div>
<div>The biggest misconception I&#8217;ve heard time and time again is&#8230;. &#8220;Policy Based Management sounds great but I&#8217;m still on SQL 2000 or SQL 2005&#8243;. Out of the box Policy Based Management can evaluate previous versions of SQL Server but we&#8217;re going to take that knowledge and with the use of PowerShell we&#8217;re going to expand on it and create an automated solution of evaluating and tracking not only your SQL 2008 instances but also your SQL 2000 and SQL 2005 instances.</div>
<div>Please be advised that this presentation may go over time as there will be alot of content covered and live demos and Q&amp;A.</div>
<div><strong> </strong></div>
<div><strong>Presenter Information:</strong> Colin Stasiuk</div>
<p>Colin Stasiuk is an MCP, MCTS SQL 2005/2008, MCITP DBDEV, and MCITP DBA. Currently, he is an independent consultant contracted to <a href="http://www.vantixsystems.com/" target="_blank">Vantix Systems </a>and working for the Government of Alberta.</p>
<p>Colin is an accomplished Microsoft SQL Server DBA who has been working with SQL Server since 1996. He is the founder of <a href="http://www.benchmarkitconsulting.com/" target="_blank">Benchmark IT Consulting</a> and is always willing to lend a hand with questions in many SQL Server community forums and via Twitter (<a href="http://twitter.com/BenchmarkIT" target="_blank">http://twitter.com/BenchmarkIT</a>) . His specialties include SQL Server Administration, Performance Tuning, Security, Monitoring, Best Practice / Standards, Upgrades, and Consolidation.</p>
<p>Colin is a proud PASS member, President of <a href="http://edmpass.com/" target="_blank">EDMPASS</a>, and has recently co-authored a book on SQL Server 2008 Policy Based Management.</p>
<p><strong>Agenda:<br />
</strong>5:00 pm &#8211; Pizza and Socializing<br />
5:30 pm &#8211; Sponsor Presentation<br />
5:45 pm &#8211; Feature Presentation<br />
7:00 pm &#8211; Wrap Up and Draws</p>
<p>If you haven’t signed up already at <a href="http://edmpass.com/?page_id=7" target="_blank"><span style="color: #0000ff;">EDMPASS.com</span></a> please do so now to receive meeting notifications, news, and updates from EDMPASS.</p>
<p>Hope to see you there.</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=EDMPASS+Meeting+Tomorrow+%23YEG+http://tinyurl.com/25cr3sr" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List All Statistics For a Column</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/#comments</comments>
		<pubDate>Tue, 11 May 2010 14:56:46 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Column]]></category>
		<category><![CDATA[List All Statistics]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1404</guid>
		<description><![CDATA[Msg 5074, Level 16, State 1, Line 1 The statistics &#8216;StatName&#8217; is dependent on column &#8216;ColumnName&#8217;. Msg 4922, Level 16, State 9, Line 1 ALTER TABLE DROP COLUMN ColumnName failed because one or more objects access this column. So what is a nice quick and easy way to list all the statistics that are dependant [...]]]></description>
			<content:encoded><![CDATA[<div><span style="font-size: xx-small;"><span style="color: #ff0000;">Msg 5074, Level 16, State 1, Line 1</span></span></div>
<div><span style="font-size: xx-small;"><span style="color: #ff0000;">The statistics &#8216;StatName&#8217; is dependent on column &#8216;ColumnName&#8217;.</span></span></div>
<p><span style="font-size: xx-small;"><span style="color: #ff0000;">Msg 4922, Level 16, State 9, Line 1</span></p>
<p><span style="color: #ff0000;">ALTER TABLE DROP COLUMN ColumnName failed because one or more objects access this column.</span></p>
<p></span></p>
<p>So what is a nice quick and easy way to list all the statistics that are dependant on that column?</p>
<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2010/05/128912846981546172.jpg"><img class="alignnone size-full wp-image-1406" title="128912846981546172" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/05/128912846981546172.jpg" alt="" width="492" height="408" /></a></p>
<p>My googling skills are obviously subpar this morning cause I couldn&#8217;t find anything to help me and it seems to me that this would be something that lots of people have run into.  This is what I came up with:</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">DECLARE @SearchColumnName	nvarchar(100)
SELECT	@SearchColumnName = 'SearchColumn'
&nbsp;
SELECT	OBJECT_NAME(A.object_id) as 'TableName',
		C.stats_column_id AS 'StatisticID',
		B.name as 'StatisticName',
		COL_NAME(C.object_id, C.column_id) AS [Name]
FROM	sys.tables AS A	INNER JOIN
		sys.stats B ON B.object_id = A.object_id INNER JOIN
		sys.stats_columns C ON C.stats_id = B.stats_id AND C.object_id = B.object_id
WHERE	COL_NAME(C.object_id, C.column_id) = @SearchColumnName</pre></div></div>

<p>I dunno&#8230; seems like there should be a sp_ListAllStatisticsForAColumn system stored proc or something LOL.</p>
<p>If you have something easier/better please post it in a comment!!</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=List+All+Statistics+For+a+Column+http://tinyurl.com/2de4hxu" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/&amp;title=List+All+Statistics+For+a+Column" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/&amp;title=List+All+Statistics+For+a+Column" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/&amp;title=List+All+Statistics+For+a+Column" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/11/list-all-statistics-for-a-column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s Here!!!</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 18:31:42 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1394</guid>
		<description><![CDATA[My lovely wife Heather gave me a call and said&#8230; &#8220;Guess what I have in my hands?&#8221;  I had heard that Ken and Jorge received their author copies this week so I was very quick to guess it right Can&#8217;t wait to get home today and check it out&#8230; I have all the pdf page [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2010/04/itshere.jpg"><img class="alignnone size-full wp-image-1395" title="itshere" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/04/itshere.jpg" alt="" width="360" height="480" /></a></p>
<p>My lovely wife Heather gave me a call and said&#8230; &#8220;Guess what I have in my hands?&#8221;  I had heard that Ken and Jorge received their author copies this week so I was very quick to guess it right <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Can&#8217;t wait to get home today and check it out&#8230; I have all the pdf page proofs for all the chapters but it just isn&#8217;t the same LOL</p>
<p>By request I&#8217;ll be doing a blog in the next day or so about the whole book writing experience as it was probably one of the most challenging yet rewarding experiences in my career.</p>
<p>(Big thanks to wifey for taking a pic!!)</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=It%26%238217%3Bs+Here%21%21%21+http://tinyurl.com/23pmkcc" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
