<?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> &#187; SQL 2008</title>
	<atom:link href="http://benchmarkitconsulting.com/tag/sql-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://benchmarkitconsulting.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 12:54:50 +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>SQL Bacon Nugget of Excellence Award @MladenPrajdic</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 14:40:23 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Bacon]]></category>
		<category><![CDATA[Deadlock Notification]]></category>
		<category><![CDATA[Mladen Prajdic]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1985</guid>
		<description><![CDATA[Prior Winners: Lara Rubbelke &#8211; (post link &#124; blog &#124; @SQLGal) &#8211; Enterprise Policy Management Framework Tim Ford &#8211; (post link &#124; blog &#124; @SQLAgentMan) &#8211; Determine Free Space, Consumed Space, and Total Space Allocated for SQL Server databases This &#8220;award&#8221; has (unintentionally) not been handed out in a while but something that I&#8217;ve used [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1986" title="BaNug" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/11/BaNug.jpg" alt="" width="180" height="135" /></p>
<p>Prior Winners:</p>
<ul>
<li>Lara Rubbelke &#8211; (<a href="http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/" target="_blank">post link</a> | <a href="http://sqlblog.com/blogs/lara_rubbelke/default.aspx" target="_blank">blog </a>| @<a href="http://twitter.com/#!/sqlgal" target="_blank">SQLGal</a>) &#8211; <a href="http://epmframework.codeplex.com/" target="_blank">Enterprise Policy Management Framework</a></li>
<li>Tim Ford &#8211; (<a href="http://benchmarkitconsulting.com/colin-stasiuk/2009/07/08/sql-bacon-nugget-of-excellence-award-sqlagentman/" target="_blank">post link</a> | <a href="http://thesqlagentman.com/" target="_blank">blog </a>| <a href="http://twitter.com/#!/SQLAgentMan/" target="_blank">@SQLAgentMan</a>) &#8211; <a href="http://www.mssqltips.com/sqlservertip/1629/determine-free-space-consumed-space-and-total-space-allocated-for-sql-server-databases/" target="_blank">Determine Free Space, Consumed Space, and Total Space Allocated for SQL Server databases</a></li>
</ul>
<p>This &#8220;award&#8221; has (unintentionally) not been handed out in a while but something that I&#8217;ve used (or a variation of) for a while now that I think needs to get bumped back up to the top of everyone&#8217;s RSS Feed is Mladen Prajdic&#8217;s I.D.N.W.C.E.C (a not so catchy acronym that I just came up with).</p>
<p><a href="http://weblogs.sqlteam.com/mladenp/archive/2008/07/18/Immediate-deadlock-notifications-without-changing-existing-code.aspx" target="_blank">Immediate Deadlock Notifications Without Changing Existing Code</a></p>
<p>Mladen describes how to use the server wide deadlock notification (<a href="http://msdn.microsoft.com/en-us/library/ms182602.aspx" target="_blank">Event Notifications</a>) to capture the deadlock graph (or deadlock chain, deadlock, escalation) to a table as soon as a deadlock occurs (as well as optionally to send an email at time of capture).</p>
<p><img class="alignnone size-full wp-image-1988" title="aaswsdw" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/11/aaswsdw.png" alt="" width="121" height="107" /></p>
<p>Now what I like about this over the more &#8220;traditional&#8221; way of detecting deadlocks with Trace Flags 1204 and 1222 (<a href="http://msdn.microsoft.com/en-us/library/ms178104.aspx" target="_blank">MSDN Link</a>) is that we&#8217;re able to capture the deadlock graph event like we were running a Profiler trace against the server.  Using trace flags 1204 and 1222 you get all the same information but I&#8217;m a picture person&#8230;.</p>
<p><img class="alignnone size-full wp-image-1991" title="liger" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/11/liger.jpg" alt="" width="300" height="300" /></p>
<p>and as a picture person I much prefer to see the deadlock graph over the &#8220;texty&#8221; / XMLish type of information you get back from Trace Flags 1204 and 1222.</p>
<p>Big thanks and props to Mladen for this blog post as I&#8217;ve come back to it time and time again <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you&#8217;d like to chat with me about this or anything else (SQL or other) please leave a comment or hit me up on my Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a></p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=SQL+Bacon+Nugget+of+Excellence+Award+%40MladenPrajdic+http://tinyurl.com/d3xzp6v" 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/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40MladenPrajdic" 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/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40MladenPrajdic" 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/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40MladenPrajdic" 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/2011/11/14/sql-bacon-nugget-of-excellence-award-mladenprajdic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Want to Speak (Virtually) At YOUR Chapter!</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:00:38 +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[MADPASS]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Virtual Speaker]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1868</guid>
		<description><![CDATA[On December 28th I&#8217;ll be doing a virtual presentation for MADPASS (The Madison SQL Server Users Group) on Doing More With Less&#8230; Policy Based Management Session Abstract: Do more with less&#8230; sound familiar? In this introduction to Policy Based Management presentation we will be going over what Policy Based Management is and how to use [...]]]></description>
			<content:encoded><![CDATA[<p>On December 28th I&#8217;ll be doing a virtual presentation for <a href="http://www.madpass.org/" target="_blank">MADPASS </a>(The Madison SQL Server Users Group) on</p>
<p><img class="alignnone size-large wp-image-1869" title="blog_PBM_Talk" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/10/blog_PBM_Talk-1024x719.jpg" alt="" width="368" height="259" /></p>
<p><strong>Doing More With Less&#8230; Policy Based Management</strong></p>
<p><strong>Session Abstract:</strong></p>
<p>Do more with less&#8230; sound familiar? In this introduction to Policy Based Management presentation we will be going over what Policy Based Management is and how to use Policy Based Management and a Central Management Server to evaluate your daily, weekly, and monthly checklists against your entire SQL Server farm.  We will be reviewing some of the &#8220;out of the box&#8221; policies as well as creating some custom policies that you might be interested in evaluating against your SQL Server farm. Finally we will be taking a quick look at how to tie all of this together with the Enterprise Policy Management Framework (available on codeplex).</p>
<p><img class="alignnone size-full wp-image-1874" title="presentationColin" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/10/presentationColin.jpg" alt="" width="300" height="204" /></p>
<p>I would love to do this (or another) presentation topic for YOUR PASS Chapter as well&#8230; so if you&#8217;re a chapter leader or a chapter member who is interested in this (or a different) session topic and are willing to do a remote session please let me know and we&#8217;ll work on scheduling a date.  I can do either a 30 minute &#8220;Short Presentation&#8221; or a 60 minute &#8220;Feature Presentation&#8221;</p>
<p>Thanks!</p>
<p>If you&#8217;d like to chat with me about this or anything else (SQL or other) please leave a comment or hit me up on my Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a></p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%21+http://tinyurl.com/4xv36x3" 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/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%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/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%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/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%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/2011/10/20/i-want-to-speak-virtually-at-your-chapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Check Constraints That Call Functions</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/08/08/check-constraints-that-call-functions/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/08/08/check-constraints-that-call-functions/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 14:02:06 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Check Constraints]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[RBAR]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1790</guid>
		<description><![CDATA[Originally this blog post was going to be about how using check constraints that call functions basically eliminates SQL Server&#8217;s ability to do set-based operations and I was going to setup an example that inserted 10 rows to show that because of the check constraint that calls a function SQL Server ends up calling the [...]]]></description>
			<content:encoded><![CDATA[<p>Originally this blog post was going to be about how using check constraints that call functions basically eliminates SQL Server&#8217;s ability to do set-based operations and I was going to setup an example that inserted 10 rows to show that because of the check constraint that calls a function SQL Server ends up calling the function 10 times (once per row inserted).  Once I started building my test scripts to show this I stumbled and fell face first into what I think is almost a worst side effect of using check constraints that call functions.</p>
<p><strong>Disclaimer</strong>: The use case I&#8217;m going with (checking the uniqueness of a column with a function) I understand can be &#8220;solutioned&#8221; much better with a unique constraint but this is not to show the best way to do something, rather a tricky little problem with doing it with a check constraint that calls a function.</p>
<p>OK first lets build ourselves a test db and table:</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">USE</span> master
GO
<span style="color: #0000FF;">CREATE</span> <span style="color: #0000FF;">DATABASE</span> <span style="color: #808080;">&#91;</span>FunWithFunctions<span style="color: #808080;">&#93;</span>
GO
<span style="color: #0000FF;">USE</span> FunWithFunctions
GO
<span style="color: #0000FF;">CREATE</span> <span style="color: #0000FF;">TABLE</span> dbo.<span style="color: #202020;">tblCustomers</span>
	<span style="color: #808080;">&#40;</span>
	CustomerID <span style="color: #0000FF;">INT</span> <span style="color: #808080;">NOT</span> <span style="color: #808080;">NULL</span> <span style="color: #0000FF;">IDENTITY</span> <span style="color: #808080;">&#40;</span><span style="color: #000;">1</span>, <span style="color: #000;">1</span><span style="color: #808080;">&#41;</span>,
	CustomerName <span style="color: #0000FF;">NVARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">50</span><span style="color: #808080;">&#41;</span> <span style="color: #808080;">NULL</span>,
	CustomerEmailAddress <span style="color: #0000FF;">NVARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">50</span><span style="color: #808080;">&#41;</span> <span style="color: #808080;">NULL</span>
	<span style="color: #808080;">&#41;</span>  <span style="color: #0000FF;">ON</span> <span style="color: #808080;">&#91;</span><span style="color: #0000FF;">PRIMARY</span><span style="color: #808080;">&#93;</span>
GO
<span style="color: #0000FF;">ALTER</span> <span style="color: #0000FF;">TABLE</span> dbo.<span style="color: #202020;">tblCustomers</span> <span style="color: #0000FF;">ADD</span> <span style="color: #0000FF;">CONSTRAINT</span>
	PK_tblCustomers <span style="color: #0000FF;">PRIMARY</span> <span style="color: #0000FF;">KEY</span> <span style="color: #0000FF;">CLUSTERED</span>
	<span style="color: #808080;">&#40;</span>
	CustomerID
	<span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">WITH</span><span style="color: #808080;">&#40;</span> STATISTICS_N<span style="color: #808080;">OR</span>ECOMPUTE <span style="color: #808080;">=</span> <span style="color: #0000FF;">OFF</span>, IGN<span style="color: #808080;">OR</span>E_DUP_KEY <span style="color: #808080;">=</span> <span style="color: #0000FF;">OFF</span>, <span style="color: #808080;">ALL</span>OW_ROW_LOCKS <span style="color: #808080;">=</span> <span style="color: #0000FF;">ON</span>, <span style="color: #808080;">ALL</span>OW_PAGE_LOCKS <span style="color: #808080;">=</span> <span style="color: #0000FF;">ON</span><span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">ON</span> <span style="color: #808080;">&#91;</span><span style="color: #0000FF;">PRIMARY</span><span style="color: #808080;">&#93;</span>
GO</pre></div></div>

<p>Now we&#8217;re going to build our function that returns the count of CustomerIDs that have the same email address:</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">CREATE</span> <span style="color: #0000FF;">FUNCTION</span> dbo.<span style="color: #202020;">fnEmailAddressUniqueness</span><span style="color: #808080;">&#40;</span>@EmailAddress <span style="color: #0000FF;">AS</span> <span style="color: #0000FF;">NVARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">50</span><span style="color: #808080;">&#41;</span><span style="color: #808080;">&#41;</span>
<span style="color: #0000FF;">RETURNS</span> <span style="color: #0000FF;">INT</span>
<span style="color: #0000FF;">AS</span>
<span style="color: #0000FF;">BEGIN</span>
	<span style="color: #0000FF;">DECLARE</span> @ReturnValue <span style="color: #0000FF;">INT</span> <span style="color: #808080;">=</span> <span style="color: #000;">0</span>
	<span style="color: #0000FF;">SELECT</span>	@ReturnValue <span style="color: #808080;">=</span> <span style="color: #FF00FF;">COUNT</span><span style="color: #808080;">&#40;</span>CustomerID<span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">FROM</span> tblCustomers <span style="color: #0000FF;">WHERE</span> CustomerEmailAddress <span style="color: #808080;">=</span> @EmailAddress
	<span style="color: #0000FF;">RETURN</span>	@ReturnValue
<span style="color: #0000FF;">END</span>
GO</pre></div></div>

<p>OK now we&#8217;re going to add a check constraint that uses this function to make sure that there are no other Customers with that email address (CustomerEmailAddress = 0)</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">ALTER</span> <span style="color: #0000FF;">TABLE</span> dbo.<span style="color: #202020;">tblCustomers</span> <span style="color: #0000FF;">ADD</span> <span style="color: #0000FF;">CONSTRAINT</span> CK_fnEmailAddressUniqueness <span style="color: #0000FF;">CHECK</span> <span style="color: #808080;">&#40;</span>dbo.<span style="color: #202020;">fnEmailAddressUniqueness</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">&#91;</span>CustomerEmailAddress<span style="color: #808080;">&#93;</span><span style="color: #808080;">&#41;</span><span style="color: #808080;">=</span><span style="color: #000;">0</span><span style="color: #808080;">&#41;</span>
GO</pre></div></div>

<p>Fantastic&#8230; now this was where I was going to do my insert of 10 rows and show through a profiler trace that my function was going to get called 10 times (once per row) but this happened:</p>
<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2011/08/funwithfunctions1.jpg"><img class="alignnone size-full wp-image-1795" title="funwithfunctions1" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/08/funwithfunctions1.jpg" alt="" width="996" height="338" /></a></p>
<p>(click to enlarge)</p>
<p>Ummmmm weird&#8230;. what happened?</p>
<p>I thought maybe there was something wrong with my function at first so I decided to call the function manually:</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">SELECT</span> dbo.<span style="color: #202020;">fnEmailAddressUniqueness</span><span style="color: #808080;">&#40;</span><span style="color: #FF0000;">'Superman@gmail.com'</span><span style="color: #808080;">&#41;</span></pre></div></div>

<p>That returned 0 (zero) as expected so I was left scratching my head for a while trying to imagine how a check constraint that is checking to make sure a value is 0 would fail (especially on an empty table) then it hit me&#8230;.</p>
<p><img class="alignnone size-full wp-image-1798" title="funwithfunctions2" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/08/funwithfunctions2.jpg" alt="" width="200" height="174" /></p>
<p>This check constraint that is calling a function is not getting evaluated BEFORE the insert&#8230; but DURING/AFTER.</p>
<p>To test this theory I changed the ADD CONSTRAINT statement to this (after I dropped it):</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">ALTER</span> <span style="color: #0000FF;">TABLE</span> dbo.<span style="color: #202020;">tblCustomers</span> <span style="color: #0000FF;">ADD</span> <span style="color: #0000FF;">CONSTRAINT</span> CK_fnEmailAddressUniqueness <span style="color: #0000FF;">CHECK</span> <span style="color: #808080;">&#40;</span>dbo.<span style="color: #202020;">fnEmailAddressUniqueness</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">&#91;</span>CustomerEmailAddress<span style="color: #808080;">&#93;</span><span style="color: #808080;">&#41;</span><span style="color: #808080;">=</span><span style="color: #000;">1</span><span style="color: #808080;">&#41;</span>
GO</pre></div></div>

<p>And wouldn&#8217;t you know it&#8230; I could now insert data.</p>
<p>I wasn&#8217;t satisfied with just that&#8230; I wanted to actually see with my own two eye that it was actually inserting the row, checking the constraint (that calls the function), and removing the row because of the failure.</p>
<p>As dirty as this is, in one SSMS window I did this (using the GO 100000 statement to execute the following statement 100,000 times):</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">INSERT</span> <span style="color: #0000FF;">INTO</span> dbo.<span style="color: #202020;">tblCustomers</span><span style="color: #808080;">&#40;</span>CustomerName, CustomerEmailAddress<span style="color: #808080;">&#41;</span>
<span style="color: #0000FF;">VALUES</span>
<span style="color: #808080;">&#40;</span><span style="color: #FF0000;">'Clark Kent'</span>, <span style="color: #FF0000;">'Superman@gmail.com'</span><span style="color: #808080;">&#41;</span></pre></div></div>

<p>And then in a different SSMS window I ran this statement continually:</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span> <span style="color: #0000FF;">FROM</span> tblCustomers <span style="color: #0000FF;">WITH</span><span style="color: #808080;">&#40;</span>NOLOCK<span style="color: #808080;">&#41;</span></pre></div></div>

<p>and I did this till the planets aligned and I was able to execute it at the exact split second I needed to capture this:</p>
<p><img class="alignnone size-full wp-image-1800" title="CheckConstraintFunctionCapture1" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/08/CheckConstraintFunctionCapture1.jpg" alt="" width="396" height="178" /></p>
<p>and then the next time I ran the same SELECT it was gone! (notice the CustomerID 5601)</p>
<p>So I stopped the &#8220;GO 100000&#8243; statement that was continually trying to insert that single row and ran the rest of my insert (without the Superman@gmail.com row) and the rest of the data went in fine (with the CustomerID being in the 9000&#8242;s even though those IDs really never were actually used&#8221;)</p>
<p>Neat/Scary huh?</p>
<p>Anyways I found this to be quite surprising and I figured that I wouldn&#8217;t be the only one who would so I thought I&#8217;d do a post on it.</p>
<p>Have a great day!</p>
<p>If you&#8217;d like to chat with me about this or anything else (SQL or other) please leave a comment or hit me up on my Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a></p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Check+Constraints+That+Call+Functions+http://tinyurl.com/3okda4b" 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/2011/08/08/check-constraints-that-call-functions/&amp;title=Check+Constraints+That+Call+Functions" 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/2011/08/08/check-constraints-that-call-functions/&amp;title=Check+Constraints+That+Call+Functions" 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/2011/08/08/check-constraints-that-call-functions/&amp;title=Check+Constraints+That+Call+Functions" 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/2011/08/08/check-constraints-that-call-functions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Change Data Capture (CDC) Easy Button</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/03/07/the-change-data-capture-cdc-easy-button/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/03/07/the-change-data-capture-cdc-easy-button/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 15:25:43 +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[CDC]]></category>
		<category><![CDATA[Change Data Capture]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1669</guid>
		<description><![CDATA[I&#8217;ve been working alot with CDC the last little while and found these couple of scripts very useful. These scripts are handy in a DEV type of environment&#8230; you should be alot pickier about what you use CDC for but if you&#8217;re looking to play around and get your hands dirty then these are the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1670" title="easy-button" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/03/easy-button.jpg" alt="" width="127" height="127" /></p>
<p>I&#8217;ve been working alot with CDC the last little while and found these couple of scripts very useful. These scripts are handy in a DEV type of environment&#8230; you should be alot pickier about what you use CDC for but if you&#8217;re looking to play around and get your hands dirty then these are the scripts for you. <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The first script:</p>
<ul>
<li>Checks to see if CDC is enabled</li>
<li>Enabled CDC</li>
<li>Creates an &#8220;Audit&#8221; schema</li>
<li>Add all tables to CDC</li>
<li>Create a useful CDC view for each table in the &#8220;Audit&#8221; schema</li>
<li>Change the default CDC retention period</li>
</ul>
<p>The second script tears it all down:</p>
<ul>
<li>Drops the views</li>
<li>Disables the tables from CDC</li>
<li>Drops the &#8220;Audit&#8221; Schema</li>
<li>Disables CDC from the database</li>
</ul>
<p><strong>FIRST SCRIPT</strong></p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">USE DB_NAME
GO
SET NOCOUNT ON
GO
DECLARE @is_cdc_enabled int
DECLARE @cdc_schema_id int
DECLARE @Role_Name nvarchar(100)
DECLARE @CDC_Retention int
DECLARE @SQL_STMT nvarchar(2000)
DECLARE @RowCount int
DECLARE @CDC_TableName nvarchar(256)
DECLARE @ColumnList nvarchar(2000)
&nbsp;
SELECT	@Role_Name = NULL
SELECT	@CDC_Retention = 13148730 -- 25 years in minutes
&nbsp;
/*
**********************************************
		ENABLE AND CONFIGURE CDC
**********************************************
*/
SELECT	@is_cdc_enabled = is_cdc_enabled
FROM	sys.databases
WHERE	[name] = DB_NAME()
&nbsp;
IF	@is_cdc_enabled != 1
BEGIN
	EXEC sys.sp_cdc_enable_db
END
&nbsp;
SELECT @SQL_STMT = 'CREATE SCHEMA [Audit] AUTHORIZATION [dbo]'
&nbsp;
IF NOT EXISTS(SELECT 1 FROM sys.schemas WHERE name = 'Audit')
BEGIN
	EXEC sp_executesql @SQL_STMT
END
&nbsp;
/*
**********************************************
		ADD TABLES TO CDC
**********************************************
*/
&nbsp;
SELECT	@cdc_schema_id = [schema_id]
FROM	sys.schemas
WHERE	[name] = 'cdc'
&nbsp;
SELECT	[name] as 'CDC_TableName'
INTO	#UserTables
FROM	sys.objects
WHERE	type = 'U' and
		is_ms_shipped != 1 and
		[schema_id] != @cdc_schema_id
&nbsp;
SELECT	@RowCount = COUNT(1)
FROM	#UserTables
&nbsp;
WHILE	@RowCount != 0
BEGIN
	SELECT TOP 1 @CDC_TableName = CDC_TableName
	FROM	#UserTables
&nbsp;
	SELECT @SQL_STMT = 'EXEC sys.sp_cdc_enable_table
      @source_schema = ''dbo'',
      @source_name   = ''' + @CDC_TableName + ''',
      @role_name     = null;'
&nbsp;
	EXEC sp_executesql @SQL_STMT
&nbsp;
	SELECT	@ColumnList = STUFF(COLUMN_NAME, 1, 1, '')
	FROM	sys.tables t CROSS APPLY  (SELECT	',' + name AS [text()]
									   FROM		sys.columns c
									   WHERE    c.object_id = t.object_id
									   FOR XML PATH('')) o (COLUMN_NAME)
	WHERE OBJECT_NAME(t.[object_id]) = @CDC_TableName
&nbsp;
	SELECT	@SQL_STMT = 'CREATE VIEW Audit.vw_' + @CDC_TableName +
			' AS     SELECT A.__$start_lsn as ''StartLSN'',
     B.tran_begin_time as ''TransactionStartTime'',
      B.tran_end_time as ''TransactionEndTime'',
      CASE
       WHEN A.__$operation = 1 THEN ''DELETE''
       WHEN A.__$operation = 2 THEN ''INSERT''
       WHEN A.__$operation = 3 THEN ''UPDATE_BEFORE''
       WHEN A.__$operation = 4 THEN ''UPDATE_AFTER''
      END as ''Operation'', ' +
      @ColumnList +
      ' FROM cdc.dbo_' + @CDC_TableName + '_CT A INNER JOIN
  cdc.lsn_time_mapping B ON A.__$start_lsn = B.start_lsn'
&nbsp;
	EXEC sp_executesql @SQL_STMT
&nbsp;
	DELETE
	FROM #UserTables
	WHERE	CDC_TableName = @CDC_TableName
&nbsp;
	SELECT @RowCount = @RowCount - 1
&nbsp;
END
&nbsp;
DROP TABLE #UserTables
&nbsp;
/*
**********************************************
		CHANGE CDC RETENTION
**********************************************
*/
&nbsp;
EXECUTE sys.sp_cdc_change_job
        @job_type = N'cleanup',
        @retention = @CDC_Retention</pre></div></div>

<p><strong>SECOND SCRIPT</strong></p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">/*
**********************************************
		TEAR IT DOWN SCRIPT
**********************************************
*/
USE DB_NAME
GO
DECLARE @Audit_schema_id int
DECLARE @RowCount int
DECLARE @ViewName nvarchar(256)
DECLARE @TableName nvarchar(256)
DECLARE @SQL_STMT nvarchar(2000)
&nbsp;
SELECT	@Audit_schema_id = [schema_id]
FROM	sys.schemas
WHERE	[name] = 'Audit'
&nbsp;
SELECT	name as 'ViewName'
INTO	#AuditViews
FROM	sys.views
WHERE	schema_id = @Audit_schema_id
&nbsp;
SELECT	@RowCount = COUNT(1)
FROM	#AuditViews
&nbsp;
WHILE	@RowCount != 0
BEGIN
	SELECT TOP 1 @ViewName = ViewName
	FROM	#AuditViews
&nbsp;
	SELECT @SQL_STMT = 'DROP VIEW Audit.' + @ViewName
&nbsp;
	EXEC sp_executesql @SQL_STMT
&nbsp;
	DELETE
	FROM #AuditViews
	WHERE	ViewName = @ViewName
&nbsp;
	SELECT @RowCount = @RowCount - 1
&nbsp;
END
&nbsp;
DROP TABLE #AuditViews
&nbsp;
SELECT	[name] as 'TableName'
INTO	#CDC_TrackedTables
FROM	sys.tables
WHERE	is_tracked_by_cdc = 1
&nbsp;
SELECT	@RowCount = COUNT(1)
FROM	#CDC_TrackedTables
&nbsp;
WHILE	@RowCount != 0
BEGIN
	SELECT TOP 1 @TableName = TableName
	FROM	#CDC_TrackedTables
&nbsp;
	SELECT @SQL_STMT = 'EXEC sys.sp_cdc_disable_table
      @source_schema = ''dbo'',
      @source_name   = ''' + @TableName + ''',
      @capture_instance     = N''All'';'
&nbsp;
	EXEC sp_executesql @SQL_STMT
&nbsp;
	DELETE
	FROM #CDC_TrackedTables
	WHERE	TableName = @TableName
&nbsp;
	SELECT @RowCount = @RowCount - 1
&nbsp;
END
&nbsp;
DROP TABLE #CDC_TrackedTables
&nbsp;
SELECT @SQL_STMT = 'DROP SCHEMA [Audit]'
&nbsp;
IF EXISTS(SELECT 1 FROM sys.schemas WHERE name = 'Audit')
BEGIN
	EXEC sp_executesql @SQL_STMT
END
&nbsp;
EXEC sys.sp_cdc_disable_db</pre></div></div>

<p>There ya go&#8230; now you don&#8217;t have a reason not to get in there and play around <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enjoy!! (Follow me on Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a>)</p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=The+Change+Data+Capture+%28CDC%29+Easy+Button+http://tinyurl.com/4aul9ll" 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/2011/03/07/the-change-data-capture-cdc-easy-button/&amp;title=The+Change+Data+Capture+%28CDC%29+Easy+Button" 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/2011/03/07/the-change-data-capture-cdc-easy-button/&amp;title=The+Change+Data+Capture+%28CDC%29+Easy+Button" 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/2011/03/07/the-change-data-capture-cdc-easy-button/&amp;title=The+Change+Data+Capture+%28CDC%29+Easy+Button" 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/2011/03/07/the-change-data-capture-cdc-easy-button/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 SP2 Released</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/09/29/sql-server-2008-sp2-released/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/09/29/sql-server-2008-sp2-released/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 18:46:37 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Release Information]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Edmonton]]></category>
		<category><![CDATA[Released]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL Consultant Edmonton]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1507</guid>
		<description><![CDATA[SQL Server 2008 SP2 has been released and I must be living under a rock because I had no idea it was coming. Fellow SQL blogger (and Canadian) Aaron Bertrand broke the news on his blog here Link to the Service Pack Link to the bugs that are fixed in SQL Server 2008 SP2 Note (from Aaron [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Server 2008 SP2 has been released and I must be living under a rock because I had no idea it was coming.</p>
<p>Fellow SQL blogger (and Canadian) Aaron Bertrand broke the news on <a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2010/09/29/this-time-it-s-for-real-sql-server-2008-sp2-is-available.aspx" target="_blank">his blog here</a></p>
<p><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8fbfc1de-d25e-4790-88b5-7dda1f1d4e17" target="_blank">Link to the Service Pack</a></p>
<p><a href="http://support.microsoft.com/kb/2285068" target="_blank">Link to the bugs that are fixed in SQL Server 2008 SP2</a></p>
<p>Note (from <a href="http://sqlblog.com/blogs/aaron_bertrand/default.aspx" target="_blank">Aaron</a> re: SP2) : &#8220;<em>The Service Pack only includes the fixes that were in SP1 CU 1 through 8.  So if you have already applied CU9 or CU10, I would hold off on deploying the service pack for now, especially if you are relying on any of the fixes in either of those CUs &#8211; because there is a chance that you will lose them.&#8221;</em></p>
<p>Now before you get all Service Pack crazy&#8230; make sure to slow down, review the changes, and apply the service pack using the same change process you do for any application release.  If you don&#8217;t have a change process defined this sounds like a great time to read:</p>
<p><a href="http://benchmarkitconsulting.com/colin-stasiuk/2009/11/11/i-love-fights-that-i-cant-lose-separated-environments-and-security/" target="_blank">http://benchmarkitconsulting.com/colin-stasiuk/2009/11/11/i-love-fights-that-i-cant-lose-separated-environments-and-security/</a></p>
<p>Thanks for posting the news Aaron&#8230; apparently I need to update where I look for this type of info cause my <a href="http://blogs.msdn.com/b/sqlreleaseservices/" target="_blank">usual places</a> still don&#8217;t have anything posted about it <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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=SQL+Server+2008+SP2+Released+http://tinyurl.com/39o9qxq" 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/09/29/sql-server-2008-sp2-released/&amp;title=SQL+Server+2008+SP2+Released" 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/09/29/sql-server-2008-sp2-released/&amp;title=SQL+Server+2008+SP2+Released" 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/09/29/sql-server-2008-sp2-released/&amp;title=SQL+Server+2008+SP2+Released" 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/09/29/sql-server-2008-sp2-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What You Waiting for&#8230;&#8230;.Worker Thread</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/09/07/what-you-waiting-for-worker-thread/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/09/07/what-you-waiting-for-worker-thread/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 19:46:54 +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[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1474</guid>
		<description><![CDATA[The world needs more Gwen IMO &#8220;Gwen Stefani &#8211; What you waiting for&#8221; So I happened to have my handy Job Activity Monitor up as I was looking to see if a job I kicked off finished when I noticed a status of &#8220;Waiting for Worker Thread&#8221;.  I can&#8217;t say that I&#8217;ve seen this message [...]]]></description>
			<content:encoded><![CDATA[<p>The world needs more Gwen IMO <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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/AI_EOPG5sWo" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/AI_EOPG5sWo"></embed></object></p>
<p><em>&#8220;Gwen Stefani &#8211; What you waiting for&#8221;</em></p>
<p>So I happened to have my handy Job Activity Monitor up as I was looking to see if a job I kicked off finished when I noticed a status of &#8220;Waiting for Worker Thread&#8221;.  I can&#8217;t say that I&#8217;ve seen this message before so I started looking around as to what else was running at this time.</p>
<p>I had a couple PowerShell jobs running and this job that was &#8220;waiting for a worker thread&#8221; was a PowerShell job as well.  I called my best friend Google up to see if there was something quick and easy out there to help me figure this one out and I got sent here:</p>
<p><a href="http://support.microsoft.com/kb/306457" target="_blank">http://support.microsoft.com/kb/306457</a></p>
<p>specifically&#8230;. &#8220;<strong>Note</strong> Microsoft SQL Server 2005 stores the <strong>max_worker_thread</strong> setting in the syssubsystems table in the msdb system database instead of in the registry. The syssubsystems table can be updated to reflect a non-default <strong>max_worker_thread</strong> setting.&#8221;</p>
<p>So I queried the syssubsystems table in msdb and guess what I found&#8230;.</p>
<p>PowerShell by default has a max_worker_threads value of 2.</p>
<p><img class="alignnone size-full wp-image-1475" title="fdlkfldkd" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/09/fdlkfldkd.gif" alt="" width="144" height="145" /></p>
<p>So a quick update to that value (in DEV&#8230; you didn&#8217;t actually think I would update a system table value in production did you?).  I kicked off more than 2 jobs that called PowerShell scripts and BOOYEAH problem solved.  Now I just bumped this up to 5 because I wanted to do some investigation as to any &#8220;gotchas&#8221; from messing with this value.</p>
<p>(so far I haven&#8217;t found any but I&#8217;ll update this post if any come up)</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=What+You+Waiting+for%26%238230%3B%26%238230%3B.Worker+Thread+http://tinyurl.com/2vxaa9g" 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/09/07/what-you-waiting-for-worker-thread/&amp;title=What+You+Waiting+for%26%238230%3B%26%238230%3B.Worker+Thread" 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/09/07/what-you-waiting-for-worker-thread/&amp;title=What+You+Waiting+for%26%238230%3B%26%238230%3B.Worker+Thread" 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/09/07/what-you-waiting-for-worker-thread/&amp;title=What+You+Waiting+for%26%238230%3B%26%238230%3B.Worker+Thread" 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/09/07/what-you-waiting-for-worker-thread/feed/</wfw:commentRss>
		<slash:comments>0</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>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>EDMPASS Meeting Success w/Brent Ozar</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/10/01/edmpass-meeting-success-wbrent-ozar/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/10/01/edmpass-meeting-success-wbrent-ozar/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 13:43: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[Brent Ozar]]></category>
		<category><![CDATA[EDMPASS]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[sqlpass]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1164</guid>
		<description><![CDATA[We had our most successful EDMPASS meeting ever last night.  We were lucky enough to get (newly appointed MVP) Brent Ozar via Live Meeting as our feature presenter.  The session was titled &#8220;Hit the Ground Running with SQL Server 2008&#8243; and it was a great presentation on the Central Management Server, Policy Based Management, and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2009/10/brmiyajkdfjdkfd.jpg"><img class="alignnone size-full wp-image-1165" title="brmiyajkdfjdkfd" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/10/brmiyajkdfjdkfd.jpg" alt="brmiyajkdfjdkfd" width="210" height="270" /></a></p>
<p>We had our most successful EDMPASS meeting ever last night.  We were lucky enough to get (newly appointed MVP) <a href="http://brentozar.com" target="_blank">Brent Ozar</a> via Live Meeting as our feature presenter.  The session was titled &#8220;Hit the Ground Running with SQL Server 2008&#8243; and it was a great presentation on the Central Management Server, Policy Based Management, and the Resource Governor. </p>
<p>I jokingly refer to Brent Ozar as my &#8220;Mr Miyagi of the SQL Server Community&#8221;&#8230; when I first decided to start blogging and get more involved in the community he was always more then willing to lend a hand and opinion on how best to approach things and his advice has always proven to be invaluable.</p>
<p>I was shocked this morning when I heard that Brent Ozar is NOW an MVP&#8230; I always thought he was one as he&#8217;s been one of the many great leaders in the community so I guess Microsoft was just a little behind the curve but at least they got it right now <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My congratz also go out to my friends <a href="http://facility9.com/" target="_blank">Jeremiah Peschka</a> and <a href="http://www.ford-it.com/sqlagentman/" target="_blank">Tim Ford</a> as well as to all the new MVPs&#8230; keep up the good work everyone!</p>
<p>Enjoy!!</p>
<p><span><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></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=EDMPASS+Meeting+Success+w%2FBrent+Ozar+http://tinyurl.com/y9okjqt" 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/2009/10/01/edmpass-meeting-success-wbrent-ozar/&amp;title=EDMPASS+Meeting+Success+w%2FBrent+Ozar" 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/2009/10/01/edmpass-meeting-success-wbrent-ozar/&amp;title=EDMPASS+Meeting+Success+w%2FBrent+Ozar" 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/2009/10/01/edmpass-meeting-success-wbrent-ozar/&amp;title=EDMPASS+Meeting+Success+w%2FBrent+Ozar" 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/2009/10/01/edmpass-meeting-success-wbrent-ozar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

