<?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>Strate SQL &#187; DBA</title>
	<atom:link href="http://www.jasonstrate.com/index.php/tag/dba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonstrate.com</link>
	<description>Questions, answers, opinions and scripts from a SQL Server DBA</description>
	<lastBuildDate>Tue, 31 Aug 2010 02:56:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Webcast Today &#8211; Using XML to Query Execution Plans</title>
		<link>http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 14:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/</guid>
		<description><![CDATA[I’ll be speaking for the SQL PASS Database Administration Virtual Chapter today at 12 PM Eastern time.  The topic will be Using XML to Query Execution Plans.  The abstract for the event is the following:
SQL Server stores its execution plans as XML in dynamic management views. The execution plans are a gold mine of information. [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-today-using-xml-to-query-execution-plans%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-today-using-xml-to-query-execution-plans%2F" height="61" width="51" /></a></div><p>I’ll be speaking for the <a href="http://www.sqlpass.org/">SQL PASS</a> <a href="http://dba.sqlpass.org/">Database Administration Virtual Chapter</a> today at 12 PM Eastern time.  The topic will be <a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=434">Using XML to Query Execution Plans</a>.  The abstract for the event is the following:</p>
<blockquote><p>SQL Server stores its execution plans as XML in dynamic management views. The execution plans are a gold mine of information. From the whether or not the execution plan will rely on parallelism to what columns are requiring a key lookup after a non-clustered index seek. Through a the use of XML this information can be available at your fingertips to help determine the value and impact of an index and guide you in improving the performance of your SQL Server databases. In this session we&#8217;ll look at how you can begin to understand and query the structure of the execution plans in the procedure cache. Also, we&#8217;ll review how to uncover some potential performance issues that may be lurking in your SQL Server.</p></blockquote>
<p>You can get to the event <a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=434">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcast Next Week &#8211; Using XML to Query Execution Plans</title>
		<link>http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 14:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/</guid>
		<description><![CDATA[I’ll be speaking for the SQL PASS Database Administration Virtual Chapter next week.  It’ll be on July 28 at 12 PM Eastern time.  The topic will be Using XML to Query Execution Plans.  The abstract for the event is the following:
SQL Server stores its execution plans as XML in dynamic management views. The execution plans [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Using XML to Query Execution Plans'>Webcast Today &#8211; Using XML to Query Execution Plans</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-next-week-using-xml-to-query-execution-plans%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-next-week-using-xml-to-query-execution-plans%2F" height="61" width="51" /></a></div><p>I’ll be speaking for the <a href="http://www.sqlpass.org/">SQL PASS</a> <a href="http://dba.sqlpass.org/">Database Administration Virtual Chapter</a> next week.  It’ll be on July 28 at 12 PM Eastern time.  The topic will be <a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=434">Using XML to Query Execution Plans</a>.  The abstract for the event is the following:</p>
<blockquote><p>SQL Server stores its execution plans as XML in dynamic management views. The execution plans are a gold mine of information. From the whether or not the execution plan will rely on parallelism to what columns are requiring a key lookup after a non-clustered index seek. Through a the use of XML this information can be available at your fingertips to help determine the value and impact of an index and guide you in improving the performance of your SQL Server databases. In this session we&#8217;ll look at how you can begin to understand and query the structure of the execution plans in the procedure cache. Also, we&#8217;ll review how to uncover some potential performance issues that may be lurking in your SQL Server.</p></blockquote>
<p>If you register for the event ahead of time you will be entered into a drawing brought to us from CA, our event sponsor.  You can get to the event <a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=434">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Using XML to Query Execution Plans'>Webcast Today &#8211; Using XML to Query Execution Plans</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Webcast Today &#8211; Performance Impacts Related to Different Function Types</title>
		<link>http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 14:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Presentation]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/</guid>
		<description><![CDATA[I’ll be speaking for the SQL PASS Performance Virtual Chapter later today starting at 12 PM Eastern time.  The topic will be Performance Impacts Related to Different Function Types.  The abstract for the event is the following:
User defined functions provide a means to encapsulate business logic in the database tier.  Often the purpose of the [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/sswug-spring-10-ultimate-virtual-conference/' rel='bookmark' title='Permanent Link: SSWUG Spring &#8216;10 Ultimate Virtual Conference'>SSWUG Spring &#8216;10 Ultimate Virtual Conference</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-today-performance-impacts-related-to-different-function-types%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F07%2Fwebcast-today-performance-impacts-related-to-different-function-types%2F" height="61" width="51" /></a></div><p>I’ll be speaking for the <a href="http://www.sqlpass.org/">SQL PASS</a> <a href="http://performance.sqlpass.org/">Performance Virtual Chapter</a> later today starting at 12 PM Eastern time.  The topic will be <a href="https://www323.livemeeting.com/cc/usergroups/join?id=3CF2HR&amp;role=attend&amp;pw=S`w-~7\6b">Performance Impacts Related to Different Function Types</a>.  The abstract for the event is the following:</p>
<blockquote><p>User defined functions provide a means to encapsulate business logic in the database tier.  Often the purpose of the encapsulation is to provide standard method access segments of data within the database.  Unfortunately, not all methods of creating user defined functions are equal.  In this session we’ll review the types of user defined functions and investigate the performance impact in selecting the different types</p>
<p><strong>Goals:</strong></p>
<ul>
<li>Identify purposes for creating user defined functions</li>
<li>Discuss the types of user-defined functions</li>
<li>Demonstrate performance impact in selecting different types of functions</li>
</ul>
</blockquote>
<p>You can get to the event <a href="https://www323.livemeeting.com/cc/usergroups/join?id=3CF2HR&amp;role=attend&amp;pw=S`w-~7\6b">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Performance Impacts Related to Different Function Types'>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/sswug-spring-10-ultimate-virtual-conference/' rel='bookmark' title='Permanent Link: SSWUG Spring &#8216;10 Ultimate Virtual Conference'>SSWUG Spring &#8216;10 Ultimate Virtual Conference</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Webcast Next Week &#8211; Performance Impacts Related to Different Function Types</title>
		<link>http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 17:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/</guid>
		<description><![CDATA[I’ll be speaking for the SQL PASS Performance Virtual Chapter next week.&#160; It’ll be on July 6 at 12 PM Eastern time.&#160; The topic will be Performance Impacts Related to Different Function Types.&#160; The abstract for the event is the following: 
User defined functions provide a means to encapsulate business logic in the database tier.&#160; [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/sswug-spring-10-ultimate-virtual-conference/' rel='bookmark' title='Permanent Link: SSWUG Spring &#8216;10 Ultimate Virtual Conference'>SSWUG Spring &#8216;10 Ultimate Virtual Conference</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fwebcast-next-week-performance-impacts-related-to-different-function-types%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fwebcast-next-week-performance-impacts-related-to-different-function-types%2F" height="61" width="51" /></a></div><p>I’ll be speaking for the <a href="http://www.sqlpass.org/">SQL PASS</a> <a href="http://performance.sqlpass.org/">Performance Virtual Chapter</a> next week.&#160; It’ll be on July 6 at 12 PM Eastern time.&#160; The topic will be Performance Impacts Related to Different Function Types.&#160; The abstract for the event is the following: </p>
<blockquote><p>User defined functions provide a means to encapsulate business logic in the database tier.&#160; Often the purpose of the encapsulation is to provide standard method access segments of data within the database.&#160; Unfortunately, not all methods of creating user defined functions are equal.&#160; In this session we’ll review the types of user defined functions and investigate the performance impact in selecting the different types</p>
<p><strong>Goals:</strong></p>
<ul>
<li>Identify purposes for creating user defined functions </li>
<li>Discuss the types of user-defined functions </li>
<li>Demonstrate performance impact in selecting different types of functions </li>
</ul>
</blockquote>
<p>You can get to the event <a href="https://www323.livemeeting.com/cc/usergroups/join?id=3CF2HR&amp;role=attend&amp;pw=S`w-~7\6b">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-today-performance-impacts-related-to-different-function-types/' rel='bookmark' title='Permanent Link: Webcast Today &#8211; Performance Impacts Related to Different Function Types'>Webcast Today &#8211; Performance Impacts Related to Different Function Types</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/sswug-spring-10-ultimate-virtual-conference/' rel='bookmark' title='Permanent Link: SSWUG Spring &#8216;10 Ultimate Virtual Conference'>SSWUG Spring &#8216;10 Ultimate Virtual Conference</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/06/webcast-next-week-performance-impacts-related-to-different-function-types/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Semaphore Timeout Did What?</title>
		<link>http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 13:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/</guid>
		<description><![CDATA[Last week I had a blog about getting better error messages out of SQL Agent Jobs.&#160; In that blog I had encountered the following error message:
Error: 2010-06-23 19:00:30.68     Code: 0×00000000      Source: Execute SQL Task      Description: TCP Provider: The semaphore timeout period [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/' rel='bookmark' title='Permanent Link: Why&#8217;d That Job Fail?'>Why&#8217;d That Job Fail?</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/interesting-backup-failure/' rel='bookmark' title='Permanent Link: Interesting Backup Failure'>Interesting Backup Failure</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/free-brains-i-mean-beta-exams/' rel='bookmark' title='Permanent Link: Free Brains&hellip;  I Mean Beta Exams'>Free Brains&hellip;  I Mean Beta Exams</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fsemaphore-timeout-did-what%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fsemaphore-timeout-did-what%2F" height="61" width="51" /></a></div><p>Last week I had a <a href="http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/">blog about getting better error messages out of SQL Agent Jobs</a>.&#160; In that blog I had encountered the following error message:</p>
<blockquote><p>Error: 2010-06-23 19:00:30.68     <br />Code: 0×00000000      <br />Source: Execute SQL Task      <br />Description: TCP Provider: The semaphore timeout period has expired.      <br />End Error</p>
</blockquote>
<p>The downside is that I don’t have a good explanation for why this error occurred.&#160; I talked to those that would investigate it and handed it off.&#160; </p>
<p>The point for today is that after a lot of searching when this error came up, it turns out that there is a Microsoft KB article that is worth taking a look at when you encounter this error:</p>
<blockquote><p><a href="http://support.microsoft.com/kb/325487">Advanced network adapter troubleshooting for Windows workstations</a></p>
</blockquote>
<p>If you encounter this error, I wish you luck.&#160; And hopefully you found the link I referenced faster than had I not put this out there.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/' rel='bookmark' title='Permanent Link: Why&#8217;d That Job Fail?'>Why&#8217;d That Job Fail?</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/interesting-backup-failure/' rel='bookmark' title='Permanent Link: Interesting Backup Failure'>Interesting Backup Failure</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/free-brains-i-mean-beta-exams/' rel='bookmark' title='Permanent Link: Free Brains&hellip;  I Mean Beta Exams'>Free Brains&hellip;  I Mean Beta Exams</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why&#8217;d That Job Fail?</title>
		<link>http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 20:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/</guid>
		<description><![CDATA[Have you ever had a SQL Agent Job fail?  Of course, just like myself, you have had this happen.
When SQL Agent  jobs fail, you will want to know why it failed.  The problem is that knowing why a SQL Server Agent job has failed can sometimes be a tricky bit of business.
The typical issue I [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/' rel='bookmark' title='Permanent Link: Semaphore Timeout Did What?'>Semaphore Timeout Did What?</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/interesting-backup-failure/' rel='bookmark' title='Permanent Link: Interesting Backup Failure'>Interesting Backup Failure</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/06/does-a-job-really-fail-if-nobody-knows-about-it/' rel='bookmark' title='Permanent Link: Does A Job Really Fail If Nobody Knows About It?'>Does A Job Really Fail If Nobody Knows About It?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fwhyd-that-job-fail%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fwhyd-that-job-fail%2F" height="61" width="51" /></a></div><p><a title="Better than Bothan spies" href="http://www.flickr.com/photos/49462908@N00/3993568640/"><img style="margin: 0px 0px 5px 5px; display: inline;" src="http://static.flickr.com/3497/3993568640_82183a4e15.jpg" alt="Better than Bothan spies" width="187" height="125" align="right" /></a>Have you ever had a SQL Agent Job fail?  Of course, just like myself, you have had this happen.</p>
<p>When SQL Agent  jobs fail, you will want to know why it failed.  The problem is that knowing why a SQL Server Agent job has failed can sometimes be a tricky bit of business.</p>
<p>The typical issue I run into is that the output message on the job step is usually longer than the amount of space available to store the output message.  And as <a href="http://en.wikipedia.org/wiki/Murphy's_law">Murphey’s Law</a> would predict, the bit of the message that contains the error will be at the tail end of the output message and not stored for later review.</p>
<h2>Check Out The Message</h2>
<p>Not exactly sure what I am talking about?  Take a look at the following failure message:</p>
<blockquote><p><span style="font-family: 'Courier New';">Executed as user AWESOMESTRATE ServiceAccount. &#8230;0.4035.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started 63513 PM Error 2010-06-23 183536.87 Code 0xC001000E Source UserImport Description The connection SERVER_01 is not found. This error is thrown by Connections collection when the specific connection element is not found. End Error Error 2010-06-23 183536.87 Code 0xC001000E Source UserImport Description The connection SERVER_02 is not found. This error is thrown by Connections collection when the specific connection element is not found. End Error Error 2010-06-23 183536.88 Code 0xC001000E Source UserImport Description The connection SERVER_03 is not found. This error is thrown by Connections collection when the specific connection element is not found. End Error Error 2010-06-23 190030.68 Code 0&#215;00000000 Source Log Import Activity Descript&#8230; The package execution fa&#8230; The step failed.</span></p></blockquote>
<p>I got this a few weeks back on a SSIS package that was being executed.  The step had obviously failing based on the “The step failed.” message.  Why did it fail?  What didn’t happen?  Can you tell that the root cause of the error was based on an Execute SQL task?</p>
<p><strong>Nope!</strong> You can’t and that’s the problem that prevents efficient troubleshooting of SQL Server Agent job issues.</p>
<h2>Getting The Full Message</h2>
<p>There should be a method for obtaining the full message so that you have what you need to troubleshoot job failures.  As there should be, there is.  This is available through on of the Advanced features on SQL Agent Job steps – the <strong>Output file</strong>.</p>
<p><a href="http://www.jasonstrate.com/wp-content/uploads/2010/06/image.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="image" src="http://www.jasonstrate.com/wp-content/uploads/2010/06/image_thumb.png" border="0" alt="image" width="393" height="204" /></a></p>
<p>If you set the Output file value to a path and file name, the output above will export the entire message generated by the SQL Server Agent job into a format that is much easier to read.</p>
<p>Below is the same job failure from above, but this time the output is from the <strong>Output file</strong>.  If you notice, without much trouble it is evident that the Execute SQL Task due to a TCP  Provider error.  Now instead of digging and looking around for the reason, the issue at hand can be resolved.</p>
<blockquote><p><span style="font-family: 'Courier New';">Microsoft (R) SQL Server Execute Package Utility<br />
Version 9.00.4035.00 for 32-bit<br />
Copyright (C) Microsoft Corp 1984-2005. All rights reserved. </span></p>
<p><span style="font-family: 'Courier New';">Started:  6:35:13 PM<br />
Error: 2010-06-23 18:35:36.87<br />
Code: 0xC001000E<br />
Source: UserImport<br />
Description: The connection &#8220;SERVER_01&#8243; is not found. This error is thrown by Connections collection when the specific connection element is not found.<br />
End Error<br />
Error: 2010-06-23 18:35:36.87<br />
Code: 0xC001000E<br />
Source: UserImport<br />
Description: The connection &#8220;SERVER_02&#8243; is not found. This error is thrown by Connections collection when the specific connection element is not found.<br />
End Error<br />
Error: 2010-06-23 18:35:36.88<br />
Code: 0xC001000E<br />
Source: UserImport<br />
Description: The connection &#8220;SERVER_03&#8243; is not found. This error is thrown by Connections collection when the specific connection element is not found.<br />
End Error<br />
Error: 2010-06-23 19:00:30.68<br />
Code: 0&#215;00000000<br />
Source: Execute SQL Task<br />
Description: TCP Provider: The semaphore timeout period has expired.<br />
End Error<br />
DTExec: The package execution returned DTSER_FAILURE (1).<br />
Started:  6:35:13 PM<br />
Finished: 7:01:05 PM<br />
Elapsed:  1551.45 seconds</span></p></blockquote>
<h2>What About My Existing Job Steps?</h2>
<p>At this point, hopefully I’ve got you convinced that a single tweak to your SQL Server Agent Job Steps can help you resolve failures with greater ease.  Let’s run out and update all of the SQL Servers and get this going.  No problem, right?</p>
<p>Well, what if your SQL Agent Job schedule has a few dozen jobs running.  Each job has a few steps.  And this is in an environment with a few dozen or hundred servers.  This can be a daunting task.  Daunting to the point that you just don’t have the time for this type of maintenance.</p>
<p>Fortunately, the script below can help you out by updating all of the job steps with a <strong>Output file </strong>details.  The script uses SQL Agent tokens to configure the job steps to output the files to the LOG folder under the SQL Server directory.  From there it assigns the Output file with the job name, the job step id, and the step name.  If you need to change directory location, just modify the @OutputFileDir variable.</p>
<pre class="brush: sql; ">

DECLARE @OutputFileDir varchar(128)
SET @OutputFileDir = &#039;$(ESCAPE_SQUOTE(SQLDIR))\LOG\&#039;

SELECT
&#039;EXEC msdb.dbo.sp_update_jobstep @job_id=N&#039;&#039;&#039; + CONVERT(varchar(36), j.job_id)
+ &#039;&#039;&#039;, @step_id=&#039; + CONVERT(varchar(3), js.step_id)
+ &#039;,@output_file_name=N&#039;&#039;&#039; + @OutputFileDir
+ REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(j.name,SPACE(1)
, &#039;_&#039;),&#039;\&#039;,&#039;&#039;),&#039;/&#039;,&#039;&#039;),&#039;:&#039;,&#039;&#039;),&#039;*&#039;,&#039;&#039;),&#039;?&#039;,&#039;&#039;),&#039;&quot;&#039;,&#039;&#039;),&#039;&lt;&#039;,&#039;&#039;),&#039;&gt;&#039;,&#039;&#039;),&#039;|&#039;,&#039;&#039;)
+ &#039;_$(ESCAPE_SQUOTE(STEPID))_&#039;
+ REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(js.step_name,SPACE(1)
, &#039;_&#039;),&#039;\&#039;,&#039;&#039;),&#039;/&#039;,&#039;&#039;),&#039;:&#039;,&#039;&#039;),&#039;*&#039;,&#039;&#039;),&#039;?&#039;,&#039;&#039;),&#039;&quot;&#039;,&#039;&#039;),&#039;&lt;&#039;,&#039;&#039;),&#039;&gt;&#039;,&#039;&#039;),&#039;|&#039;,&#039;&#039;) + &#039;.txt&#039;&#039;
GO&#039;
FROM dbo.sysjobsteps js
INNER JOIN dbo.sysjobs j ON j.job_id = js.job_id
WHERE enabled = 1
</pre>
<h2>Sweet, Run This In Production</h2>
<p>No, please don’t do that… yet.</p>
<p>If you like this, check it out in your development environment and make certain that it works for you.  Then go ahead with your regular application lifecycle to promote this to other environments.  Who knows, HTML encoding might break part of this script and cause issues – it happened on a post of mine last week.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/06/semaphore-timeout-did-what/' rel='bookmark' title='Permanent Link: Semaphore Timeout Did What?'>Semaphore Timeout Did What?</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/03/interesting-backup-failure/' rel='bookmark' title='Permanent Link: Interesting Backup Failure'>Interesting Backup Failure</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/06/does-a-job-really-fail-if-nobody-knows-about-it/' rel='bookmark' title='Permanent Link: Does A Job Really Fail If Nobody Knows About It?'>Does A Job Really Fail If Nobody Knows About It?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/06/whyd-that-job-fail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Do You Patch SQL Server Regularily?</title>
		<link>http://www.jasonstrate.com/index.php/2010/06/do-you-patch-sql-server-regularily/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/06/do-you-patch-sql-server-regularily/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 18:00:29 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=489</guid>
		<description><![CDATA[Microsoft has released a few new Cumulaive Update for SQL Server. There is an update for each of the supported releases of SQL Server:

Cumulative update package 10 for SQL Server 2005 Service Pack 3
Cumulative update package 8 for SQL Server 2008 Service Pack 1
Cumulative Update package 2 for SQL Server 2008 R2

Cumulative Updates are primarily [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2008/11/cumulative-update-package-2-for-sql-server-2008/' rel='bookmark' title='Permanent Link: Cumulative update package 2 for SQL Server 2008'>Cumulative update package 2 for SQL Server 2008</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/07/apply-those-updates/' rel='bookmark' title='Permanent Link: Apply Those Updates'>Apply Those Updates</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2008/09/sql-server-2008-cumulative-update-1/' rel='bookmark' title='Permanent Link: SQL Server 2008 Cumulative Update 1'>SQL Server 2008 Cumulative Update 1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fdo-you-patch-sql-server-regularily%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Fdo-you-patch-sql-server-regularily%2F" height="61" width="51" /></a></div><p><a title="The 8-Ball" href="http://www.flickr.com/photos/lleite/85521150/"><img style="margin: 0px 0px 5px 5px; display: inline;" src="http://farm1.static.flickr.com/37/85521150_869f74a525.jpg" border="0" alt="Lego Deadlock" width="199" height="132" align="right" /></a>Microsoft has released a few new Cumulaive Update for SQL Server. There is an update for each of the supported releases of SQL Server:</p>
<ul>
<li><a href="http://support.microsoft.com/kb/983329/en-us">Cumulative update package 10 for SQL Server 2005 Service Pack 3</a></li>
<li><a href="http://support.microsoft.com/kb/981702/en-us">Cumulative update package 8 for SQL Server 2008 Service Pack 1</a></li>
<li><a href="http://support.microsoft.com/kb/2072493/en-us">Cumulative Update package 2 for SQL Server 2008 R2</a></li>
</ul>
<p>Cumulative Updates are primarily intended for SQL Server environments where the issues being resovled are being realized. Though if you are using the components updated by the Cumulative Update it would be good to apply the update.</p>
<p>Unless, of course, you&#8217;d rather spend the weekend behind an 8-Ball troubleshooting and resolving an issue that the Cumulative Update would have prevented. The 8-Ball might be a black and blue ball by Monday when you explain to your manager that the issue was completely avoidable.</p>
<h2>Patch Regularily</h2>
<p>If you aren&#8217;t aware, Microsoft has an <a href="http://support.microsoft.com/kb/935897">Incremental Servicing Model</a>. This model provides guidance on what you should expect from Microsoft from a support standpoint for issues with their products. As part of the Incremental Servicing Model, Microsoft is committed to releasing Cumulative Updates every 2 months.</p>
<p>All fine and dandy but what does that have to do with you? Or if today still feels like Monday&#8230; So what?</p>
<p>The benefit of this model is that it allows us as administrators of SQL Server to develop a plan to regularily download and install the updates. This plan would, of course, include a process to install the updates in the development and test environments. And, also, detail what the steps are for testing and releasing these updates.</p>
<h2>But That&#8217;s Not All</h2>
<p>Just like practicing your database recovery plan. You do practice this, right? Regularily updating your SQL Server environment provides an opportunity to become familiar with this task. This is a critical skill that every DBA should want to have.</p>
<p>If you are well versed in a simple Cumulative Update deployment you have skill and knowledge that will be critical in other situations. When a hotfix needs to be deployed, you will already know your systems well enough to understand the collateral impact of the deployment. If you suddenly inherit a SQL Serve that hasn&#8217;t been maintained since an RTM install, you know what level of patching to place on the server and already have a process in place to get the job done.</p>
<p>Regular updates of your SQL Server environment also gives you the opportunity to read the Cumulative Update notes. You will know what wasn&#8217;t working and become an expert on problems that may exist in your environment. I&#8217;d rather say, &#8220;There is a fix to that issue already in progress. It&#8217;s in the Test environment already.&#8221; Than have to come back and say, &#8220;Microsoft fixed that in an update 6 months ago, I&#8217;ll see what we need to do to get the update deployed.&#8221;</p>
<p>There are likey countless other reasons to take the time to build a process and skillset around regular patching. The long and the short of it is that it is good for you, good for your company, and the responsible thing to do.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2008/11/cumulative-update-package-2-for-sql-server-2008/' rel='bookmark' title='Permanent Link: Cumulative update package 2 for SQL Server 2008'>Cumulative update package 2 for SQL Server 2008</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/07/apply-those-updates/' rel='bookmark' title='Permanent Link: Apply Those Updates'>Apply Those Updates</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2008/09/sql-server-2008-cumulative-update-1/' rel='bookmark' title='Permanent Link: SQL Server 2008 Cumulative Update 1'>SQL Server 2008 Cumulative Update 1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/06/do-you-patch-sql-server-regularily/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Index Those Foreign Keys</title>
		<link>http://www.jasonstrate.com/index.php/2010/06/index-those-foreign-keys/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/06/index-those-foreign-keys/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 21:00:59 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Deadlocks]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Indexing]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=486</guid>
		<description><![CDATA[Today started with some quality time getting to know a deadlock that had occurred. While working through the deadlock, I noticed that there were a number of foreign key relationships that weren&#8217;t indexed on the parent side of the relationship.
I am going to skip over the why to index foreign keys and save that for [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2009/01/find-duplicate-foreign-keys/' rel='bookmark' title='Permanent Link: Find Duplicate Foreign Keys'>Find Duplicate Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/07/gotta-stop-violating-foreign-keys/' rel='bookmark' title='Permanent Link: Gotta Stop Violating Foreign Keys'>Gotta Stop Violating Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/02/change-trusted-state-of-foreign-keys/' rel='bookmark' title='Permanent Link: Change Trusted State of Foreign Keys'>Change Trusted State of Foreign Keys</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Findex-those-foreign-keys%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F06%2Findex-those-foreign-keys%2F" height="61" width="51" /></a></div><p><a title="Lego Deadlock" href="http://www.flickr.com/photos/oskay/265879129/"><img style="margin: 0px 0px 5px 5px; display: inline;" src="http://farm1.static.flickr.com/119/265879129_2b6b17edf2.jpg" border="0" alt="Lego Deadlock" width="199" height="132" align="right" /></a>Today started with some quality time getting to know a deadlock that had occurred. While working through the deadlock, I noticed that there were a number of foreign key relationships that weren&#8217;t indexed on the parent side of the relationship.</p>
<p>I am going to skip over the why to index foreign keys and save that for a later point when I have more time to go through it with some really pretty pictures. Today though, I want to share the scripts that I put together to look for these situations and help prevent issues related to them.</p>
<h2>Brute Force Indexing</h2>
<p>This first script is a brute force attack on this need. If you set the output for text results in SQL Server Management Studio (SSMS) you&#8217;ll get a script with all of the indexes you&#8217;ll need to cover all of your foreign key relationships.</p>
<pre class="brush: sql; ">

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SET NOCOUNT ON

;WITH cIndexes
AS (
SELECT i.object_id
,i.name
,(SELECT QUOTENAME(ic.column_id,&#039;(&#039;)
FROM sys.index_columns ic
WHERE i.object_id = ic.object_id
AND i.index_id = ic.index_id
AND is_included_column = 0
ORDER BY key_ordinal ASC
FOR XML PATH(&#039;&#039;)) AS indexed_compare
FROM sys.indexes i
), cForeignKeys
AS (
SELECT fk.name AS foreign_key_name
,&#039;PARENT&#039; as foreign_key_type
,fkc.parent_object_id AS object_id
,STUFF((SELECT &#039;, &#039; + QUOTENAME(c.name)
FROM sys.foreign_key_columns ifkc
INNER JOIN sys.columns c ON ifkc.parent_object_id = c.object_id AND ifkc.parent_column_id = c.column_id
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)), 1, 2, &#039;&#039;) AS fk_columns
,(SELECT QUOTENAME(ifkc.parent_column_id,&#039;(&#039;)
FROM sys.foreign_key_columns ifkc
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)) AS fk_columns_compare
FROM sys.foreign_keys fk
INNER JOIN sys.foreign_key_columns fkc ON fk.object_id = fkc.constraint_object_id
WHERE fkc.constraint_column_id = 1
UNION ALL
SELECT fk.name AS foreign_key_name
,&#039;REFERENCED&#039; as foreign_key_type
,fkc.referenced_object_id AS object_id
,STUFF((SELECT &#039;, &#039; + QUOTENAME(c.name)
FROM sys.foreign_key_columns ifkc
INNER JOIN sys.columns c ON ifkc.referenced_object_id = c.object_id AND ifkc.referenced_column_id = c.column_id
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)), 1, 2, &#039;&#039;) AS fk_columns
,(SELECT QUOTENAME(ifkc.referenced_column_id,&#039;(&#039;)
FROM sys.foreign_key_columns ifkc
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)) AS fk_columns_compare
FROM sys.foreign_keys fk
INNER JOIN sys.foreign_key_columns fkc ON fk.object_id = fkc.constraint_object_id
WHERE fkc.constraint_column_id = 1
), cRowCount
AS (
SELECT object_id
,SUM(row_count) AS row_count
FROM sys.dm_db_partition_stats ps
WHERE index_id IN (1,0)
GROUP BY object_id
)
SELECT
&#039;--Missing foreign key index for &#039;+fk.foreign_key_name+CHAR(13)+CHAR(10)+&#039;GO&#039;+CHAR(13)+CHAR(10)+
+&#039;CREATE NONCLUSTERED INDEX FKIX_&#039;+OBJECT_NAME(fk.object_id)+&#039;_&#039;+REPLACE(REPLACE(REPLACE(REPLACE(fk.fk_columns,&#039;,&#039;,&#039;&#039;),&#039;[&#039;,&#039;&#039;),&#039;]&#039;,&#039;&#039;),&#039; &#039;,&#039;&#039;)
+CHAR(13)+CHAR(10)+
+&#039;ON [dbo].[&#039;+OBJECT_NAME(fk.object_id)+&#039;] (&#039;+fk.fk_columns+&#039;)&#039;+CHAR(13)+CHAR(10)+
+&#039;GO&#039;+CHAR(13)+CHAR(10)+CHAR(13)+CHAR(10)
FROM cForeignKeys fk
INNER JOIN cRowCount rc ON fk.object_id = rc.object_id
LEFT OUTER JOIN cIndexes i ON fk.object_id = i.object_id AND i.indexed_compare LIKE fk.fk_columns_compare + &#039;%&#039;
WHERE i.name IS NULL
ORDER BY OBJECT_NAME(fk.object_id), fk.fk_columns
</pre>
<h2>Foreign Key Monitoring</h2>
<p>This second script accommodates for those situations when you may not want to just index every foreign key that is out there. Maybe there&#8217;s a really old table in the database with a foreign key relationship that just doesn&#8217;t matter any more. Is it worth indexing along a vector that won&#8217;t lead to any performance impact &#8211; either negative or positive? Most likely not.</p>
<p>For this script, the results output a list of foreign keys relationships that are not fully indexed. Included in the result script is a column with XML data in it that contains a script for creating an index. You may notice that the format for this is very similar to the schema created when outputtingmmissing Indexes from execution plans.</p>
<pre class="brush: sql; ">

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

;WITH cIndexes
AS (
SELECT i.object_id
,i.name
,(SELECT QUOTENAME(ic.column_id,&#039;(&#039;)
FROM sys.index_columns ic
WHERE i.object_id = ic.object_id
AND i.index_id = ic.index_id
AND is_included_column = 0
ORDER BY key_ordinal ASC
FOR XML PATH(&#039;&#039;)) AS indexed_compare
FROM sys.indexes i
), cForeignKeys
AS (
SELECT fk.name AS foreign_key_name
,&#039;PARENT&#039; as foreign_key_type
,fkc.parent_object_id AS object_id
,STUFF((SELECT &#039;, &#039; + QUOTENAME(c.name)
FROM sys.foreign_key_columns ifkc
INNER JOIN sys.columns c ON ifkc.parent_object_id = c.object_id AND ifkc.parent_column_id = c.column_id
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)), 1, 2, &#039;&#039;) AS fk_columns
,(SELECT QUOTENAME(ifkc.parent_column_id,&#039;(&#039;)
FROM sys.foreign_key_columns ifkc
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)) AS fk_columns_compare
FROM sys.foreign_keys fk
INNER JOIN sys.foreign_key_columns fkc ON fk.object_id = fkc.constraint_object_id
WHERE fkc.constraint_column_id = 1
UNION ALL
SELECT fk.name AS foreign_key_name
,&#039;REFERENCED&#039; as foreign_key_type
,fkc.referenced_object_id AS object_id
,STUFF((SELECT &#039;, &#039; + QUOTENAME(c.name)
FROM sys.foreign_key_columns ifkc
INNER JOIN sys.columns c ON ifkc.referenced_object_id = c.object_id AND ifkc.referenced_column_id = c.column_id
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)), 1, 2, &#039;&#039;) AS fk_columns
,(SELECT QUOTENAME(ifkc.referenced_column_id,&#039;(&#039;)
FROM sys.foreign_key_columns ifkc
WHERE fk.object_id = ifkc.constraint_object_id
ORDER BY ifkc.constraint_column_id
FOR XML PATH(&#039;&#039;)) AS fk_columns_compare
FROM sys.foreign_keys fk
INNER JOIN sys.foreign_key_columns fkc ON fk.object_id = fkc.constraint_object_id
WHERE fkc.constraint_column_id = 1
), cRowCount
AS (
SELECT object_id
,SUM(row_count) AS row_count
FROM sys.dm_db_partition_stats ps
WHERE index_id IN (1,0)
GROUP BY object_id
)
SELECT
fk.foreign_key_name
,OBJECT_NAME(fk.object_id) AS fk_table_name
,fk.fk_columns
,rc.row_count AS row_count
,CAST(&#039;&lt;!--dex  &#039;+CHAR(13)+CHAR(10)+&#039;Missing foreign key index for &#039;+fk.foreign_key_name+CHAR(13)+CHAR(10)+CHAR(13)+CHAR(10)+&#039;USE [&#039;+DB_NAME()+&#039;]&#039;&lt;br--&gt; +CHAR(13)+CHAR(10)+&#039;GO&#039;+CHAR(13)+CHAR(10)+
+&#039;CREATE NONCLUSTERED INDEX []&#039;+CHAR(13)+CHAR(10)+
+&#039;ON [dbo].[&#039;+OBJECT_NAME(fk.object_id)+&#039;] (&#039;+fk.fk_columns+&#039;)&#039;+CHAR(13)+CHAR(10)+
+&#039;GO&#039;+CHAR(13)+CHAR(10)+&#039;--?&gt;&#039; AS xml) foreign_key_index_schema
FROM cForeignKeys fk
INNER JOIN cRowCount rc ON fk.object_id = rc.object_id
LEFT OUTER JOIN cIndexes i ON fk.object_id = i.object_id AND i.indexed_compare LIKE fk.fk_columns_compare + &#039;%&#039;
WHERE i.name IS NULL
ORDER BY OBJECT_NAME(fk.object_id), fk.fk_columns
</pre>
<h2>Closing Up</h2>
<p>The DDL schema output in these scripts is very basic. It doesn&#8217;t account for potentially important things like partitions and filegroups. Obviously, you&#8217;ll need to modify this for your own environment and don&#8217;t just run this on production.</p>
<p>I see a lot of potential in these scripts and am planning to include them as part of preparing for releases when I am clients. A good way to dot the i&#8217;s and cross the t&#8217;s.</p>
<p>Individual results may vary. No Legos were harmed in the writing on this post.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2009/01/find-duplicate-foreign-keys/' rel='bookmark' title='Permanent Link: Find Duplicate Foreign Keys'>Find Duplicate Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/07/gotta-stop-violating-foreign-keys/' rel='bookmark' title='Permanent Link: Gotta Stop Violating Foreign Keys'>Gotta Stop Violating Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/02/change-trusted-state-of-foreign-keys/' rel='bookmark' title='Permanent Link: Change Trusted State of Foreign Keys'>Change Trusted State of Foreign Keys</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/06/index-those-foreign-keys/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Doing Something About Auto Generated Names</title>
		<link>http://www.jasonstrate.com/index.php/2010/05/doing-something-about-auto-generated-names/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/05/doing-something-about-auto-generated-names/#comments</comments>
		<pubDate>Wed, 26 May 2010 17:00:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/05/doing-something-about-auto-generated-names/</guid>
		<description><![CDATA[I like my name.  It provides a point of reference to who I am.  If I am at work and someone calls for “Jason Strate”… that’s me.  If I am at home, the same thing can happen and I still know that it’s me.  I know that no matter where I am, my name will [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/03/find-tables-with-forwarded-records/' rel='bookmark' title='Permanent Link: Find Tables with Forwarded Records'>Find Tables with Forwarded Records</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/index-those-foreign-keys/' rel='bookmark' title='Permanent Link: Index Those Foreign Keys'>Index Those Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/01/scripting-object-level-permissions/' rel='bookmark' title='Permanent Link: Scripting Object Level Permissions'>Scripting Object Level Permissions</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F05%2Fdoing-something-about-auto-generated-names%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F05%2Fdoing-something-about-auto-generated-names%2F" height="61" width="51" /></a></div><p><a title="Zombie Apocafest 2009 - Shaun &amp; Ed" href="http://www.flickr.com/photos/12426416@N00/3982315713/"><img style="margin: 0px 0px 5px 5px; display: inline;" src="http://static.flickr.com/2668/3982315713_fb262e22e1.jpg" border="0" alt="Zombie Apocafest 2009 - Shaun &amp; Ed" width="199" height="132" align="right" /></a>I like my name.  It provides a point of reference to who I am.  If I am at work and someone calls for “Jason Strate”… that’s me.  If I am at home, the same thing can happen and I still know that it’s me.  I know that no matter where I am, my name will be a constant and it means something when it is called.  <span style="text-decoration: line-through;">Hopefully, it doesn’t mean “late to dinner”.</span></p>
<p>This same principle applies to the tables and the objects related to those tables.  We give that table a name in the development environment, maybe it’s called “ZombieBaconUnicorn”.  We expect that it will be called “ZombieBaconUnicorn”.  Unfortunately, this doesn’t always ring true with other database objects related to tables; such as Primary Keys and Defaults Constraints.</p>
<h2>Random Naming</h2>
<p>There are multiple ways to create Primary Key and Default Constraints and they don’t all have an implied name.  Take for instance the following script, what would you assume the names of the Primary Key and Default Constraints would be?</p>
<pre class="brush: sql; ">
CREATE TABLE dbo.RandomPKandDC
(
RandomPKandDCID int IDENTITY(1,1) PRIMARY KEY CLUSTERED
,Column1 datetime DEFAULT(GETDATE())
)

SELECT name FROM sys.objects
WHERE parent_object_id = OBJECT_ID(&#039;dbo.RandomPKandDC&#039;)
</pre>
<p>Did you guess the following names?</p>
<p><a href="http://www.jasonstrate.com/wp-content/uploads/2010/05/image.png"><img style="display: inline; border: 0px;" title="image" src="http://www.jasonstrate.com/wp-content/uploads/2010/05/image_thumb.png" border="0" alt="image" width="242" height="62" /></a></p>
<p>No?!  Run it on you machine, you’ll get your own unique names.</p>
<h2>Non-Random Naming</h2>
<p>Getting around the random naming is pretty simple.  Below I’ll would you through the steps.</p>
<p>The first change is how you’ll define the PRIMARY KEY on the table with the <a href="http://msdn.microsoft.com/en-us/library/ms174979.aspx">CREATE TABLE</a> statement.  Instead of adding PRIMARY KEY CLUSTERED on the column definition, add it to the table as a constraint.</p>
<pre class="brush: sql; ">
CREATE TABLE dbo.NonRandomPKandDC
(
NonRandomPKandDCID int IDENTITY(1,1)
,Column1 datetime
,CONSTRAINT PK_NonRandomPKandDC_RandomPKandDCID PRIMARY KEY CLUSTERED (NonRandomPKandDCID)
)
</pre>
<p>Next you want to use the ALTER TABLE statement to add the DEFAULT CONSTRAINT.  Instead of making the default part of the column definition in the CREATE TABLE, you want to name the default as a constraint to name it as it is created.</p>
<pre class="brush: sql; ">
ALTER TABLE dbo.NonRandomPKandDC ADD CONSTRAINT DF_NonRandomPKandDC_Column1
DEFAULT (getdate()) FOR [Column1]
</pre>
<p>Take a look at the results of the next query:</p>
<pre class="brush: sql; ">
SELECT name FROM sys.objects
WHERE parent_object_id = OBJECT_ID(&#039;dbo.NonRandomPKandDC&#039;)
</pre>
<p><a href="http://www.jasonstrate.com/wp-content/uploads/2010/05/image1.png"><img style="display: inline; border: 0px;" title="image" src="http://www.jasonstrate.com/wp-content/uploads/2010/05/image_thumb1.png" border="0" alt="image" width="270" height="59" /></a></p>
<p>On your server and mine the objects will have the same name.  When you deploy objects build from T-SQL like this from development to test to production they will have the same names.</p>
<h2>What the!?</h2>
<p>Now there isn’t anything wrong with these random names from the perspective of how your database will perform.  But it will hose up things such as database comparisons and investigating errors.</p>
<p>With database comparisons, the issue is pretty obvious.  If the contents of the object are the same but the name is different then it isn’t the exact same object.  Many tools have options for ignoring these names, but there are some that don’t.  Even when the tool has the option to ignore, you will need to rely on the operator of the tool to disable the feature.</p>
<p>Looking now at investigating errors, I am a big fan of errors that can tell me the problem within the database.  Which of the following is easier to understand.  The first with the random name:</p>
<blockquote><p>Msg 2627, Level 14, State 1, Line 2<br />
Violation of PRIMARY KEY constraint &#8216;PK__RandomPKandDC__5D60DB10&#8242;. Cannot insert duplicate key in object &#8216;dbo.RandomPKandDC&#8217;.<br />
The statement has been terminated.</p></blockquote>
<p>Or the second with the stated name:</p>
<blockquote><p>Msg 2627, Level 14, State 1, Line 2<br />
Violation of PRIMARY KEY constraint &#8216;PK_NonRandomPKandDC_RandomPKandDCID&#8217;. Cannot insert duplicate key in object &#8216;dbo.NonRandomPKandDC&#8217;.<br />
The statement has been terminated.</p></blockquote>
<p>Ok, maybe this isn’t the best example of this type of issue, but it does tell me exactly the issue and because I named the object explicitly I know where the problem is and something about the issue before digging into the schema of the table.</p>
<p>Overall, this is about reducing pain points in building and using your databases.  The easier it is to manage them once they are deployed, the more Bejeweled Blitz you can play on <a href="http://www.facebook.com/StrateSQL">Facebook</a> between your projects.</p>
<h2>Renaming the Objects</h2>
<p>Maybe I’ve sold you on this idea.  If so, you may be thinking “What the heck do you do with all of my existing databases objects?”  That answer is simple… rename them.  Since the names of these objects isn’t tied to how they are defined, you can easily get them renamed with <a href="http://msdn.microsoft.com/en-us/library/ms188351.aspx">sp_rename</a>.</p>
<p>The following two scripts are what I use to rename PRIMARY KEY CONSTRAINTS and DEFAULT CONSTRAINTS.</p>
<p>This first one will provide sp_rename statements that you can execute to rename all of your PRIMARY KEY CONSTRAINTS:</p>
<pre class="brush: sql; ">
;WITH PKNames
AS (
SELECT name AS IndexName
,OBJECT_NAME(object_id) AS TableName
,OBJECT_SCHEMA_NAME(object_id) as SchemaName
,(SELECT &#039;&#039; + c.name
FROM sys.index_columns ic
INNER JOIN sys.columns c
ON ic.object_id = c.object_id
AND ic.index_column_id = c.column_id
WHERE ic.object_id = i.object_id
AND ic.index_id = i.index_id
AND ic.is_included_column = 0
ORDER BY ic.key_ordinal
FOR XML PATH(&#039;&#039;)) AS Columns
FROM sys.indexes i
WHERE i.is_primary_key = 1
)
SELECT &#039;EXEC sp_rename &#039;&#039;&#039; + QUOTENAME(SchemaName) + &#039;.&#039; + QUOTENAME(IndexName) + &#039;&#039;&#039;, &#039;&#039;PK_&#039; + TableName + &#039;_&#039; + Columns + &#039;&#039;&#039;&#039;
FROM PKNames
WHERE IndexName &lt;&gt; &#039;PK_&#039; + TableName + &#039;_&#039; + Columns
</pre>
<p>The second one will provide sp_rename statements that you can execute to rename all of your DEFAULT CONSTRAINTS:</p>
<pre class="brush: sql; ">
SELECT &#039;EXEC sp_rename &#039;&#039;&#039; + QUOTENAME(OBJECT_SCHEMA_NAME(dc.parent_object_id)) + &#039;.&#039;
+ QUOTENAME(dc.name) + &#039;&#039;&#039;, &#039;&#039;DF_&#039; + OBJECT_NAME(dc.parent_object_id) + &#039;_&#039; + c.name + &#039;&#039;&#039;&#039;
FROM sys.default_constraints dc
INNER JOIN sys.columns c ON dc.parent_object_id = c.object_id AND dc.parent_column_id = c.column_id
WHERE dc.name &lt;&gt; &#039;DF_&#039; + OBJECT_NAME(dc.parent_object_id) + &#039;_&#039; + c.name
</pre>
<p>Hopefully these can be helpful for you as well.</p>
<h2>Conclusion</h2>
<p>In a roundabout way, this post has been about naming conventions.  Make the world a prettier place by having a convention on naming the objects in your database.</p>
<p>Last word… don’t just run out and use this in your production database without doing your own testing and promoting using your own company’s deployment process.  An obvious statement but one that I thought I should point out since I know how tempting this can be.</p>
<p>EDIT 2010/05/27: Modified scripts to account for schema variations.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2010/03/find-tables-with-forwarded-records/' rel='bookmark' title='Permanent Link: Find Tables with Forwarded Records'>Find Tables with Forwarded Records</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/06/index-those-foreign-keys/' rel='bookmark' title='Permanent Link: Index Those Foreign Keys'>Index Those Foreign Keys</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/01/scripting-object-level-permissions/' rel='bookmark' title='Permanent Link: Scripting Object Level Permissions'>Scripting Object Level Permissions</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/05/doing-something-about-auto-generated-names/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>TechFuse Presentation and Speaker Rankings</title>
		<link>http://www.jasonstrate.com/index.php/2010/05/techfuse-presentation-and-speaker-rankings/</link>
		<comments>http://www.jasonstrate.com/index.php/2010/05/techfuse-presentation-and-speaker-rankings/#comments</comments>
		<pubDate>Fri, 14 May 2010 18:25:00 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/index.php/2010/05/techfuse-presentation-and-speaker-rankings/</guid>
		<description><![CDATA[Last week I spoke at TechFuse 2010 and my topic was Getting to Know Your Indexes.&#160; I thought I’d throw up a link to the presentation materials from the event.&#160; TechFuse was a lot of fun and I got to spend some time chatting with Dan English (twitter &#124; blog) and Lara Rubbelke (twitter &#124; [...]


Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2008/06/sql-server-2008-integration-services-presentation/' rel='bookmark' title='Permanent Link: SQL Server 2008 Integration Services Presentation'>SQL Server 2008 Integration Services Presentation</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/03/techfuse-2009-conference-tomorrow/' rel='bookmark' title='Permanent Link: TechFuse 2009 Conference Tomorrow'>TechFuse 2009 Conference Tomorrow</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F05%2Ftechfuse-presentation-and-speaker-rankings%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jasonstrate.com%2Findex.php%2F2010%2F05%2Ftechfuse-presentation-and-speaker-rankings%2F" height="61" width="51" /></a></div><p>Last week I spoke at <a href="http://www.benchmarklearning.com/techfuse.aspx">TechFuse 2010</a> and my topic was <a href="http://jasonstrate.com/presentations/TechFuse%202010%20-%20Getting%20To%20Know%20Your%20Indexes.zip">Getting to Know Your Indexes</a>.&#160; I thought I’d throw up a link to the presentation materials from the event.&#160; TechFuse was a lot of fun and I got to spend some time chatting with Dan English (<a href="http://twitter.com/denglishbi">twitter</a> | <a href="http://denglishbi.spaces.live.com/">blog</a>) and Lara Rubbelke (<a href="http://twitter.com/sqlgal">twitter</a> | <a href="http://sqlblog.com/blogs/lara_rubbelke/default.aspx">blog</a>) about SQL Server 2008 R2.</p>
<p>From my session, I received some feedback and it came back a lot better than I had expected.&#160; I hadn’t felt on my game that day and this presentation is usually pretty dry compared to others that I do.&#160; On a scale of 1-7 I received the following scores:</p>
<ul>
<li>6.6 – Speaker(s) demonstrated expertise on the subject matter </li>
<li>5.7 – Knowledge in this session will help me in the job role </li>
<li>5.4 – Content delivered met my expectations </li>
<li>5.6 – I enjoyed the subject matter </li>
</ul>
<p> Some of the comments I received…<br />
<blockquote>
<p>“A lot of useful information.”      <br />“Good Info.”       <br />“Lots of detail. Speaker very knowledgeable.”</p>
</blockquote>
<p>If you saw me there and want to drop an additional comment, feel free <a href="http://speakerrate.com/talks/3242-techfuse-2010-getting-to-know-your-indexes">to add a comment at SpeakerRate</a>.</p>
<p>Also, if you saw me present on <a href="http://speakerrate.com/talks/3246-sql-server-2008-r2-launch-application-and-multi-server-management">Application and Multi-Server Management at the SQL Server 2008 R2 launch event in Minneapolis I’d appreciate any feedback on that as well</a>.</p>


<p>Related posts:<ol><li><a href='http://www.jasonstrate.com/index.php/2008/06/sql-server-2008-integration-services-presentation/' rel='bookmark' title='Permanent Link: SQL Server 2008 Integration Services Presentation'>SQL Server 2008 Integration Services Presentation</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2009/03/techfuse-2009-conference-tomorrow/' rel='bookmark' title='Permanent Link: TechFuse 2009 Conference Tomorrow'>TechFuse 2009 Conference Tomorrow</a></li>
<li><a href='http://www.jasonstrate.com/index.php/2010/07/webcast-next-week-using-xml-to-query-execution-plans/' rel='bookmark' title='Permanent Link: Webcast Next Week &#8211; Using XML to Query Execution Plans'>Webcast Next Week &#8211; Using XML to Query Execution Plans</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/index.php/2010/05/techfuse-presentation-and-speaker-rankings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
