<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>John Sansom - SQL Server DBA in the UK</title>
	
	<link>http://www.johnsansom.com</link>
	<description>SQL Server DBA Blog, with straightforward advice, quality resources and musings about SQL Server</description>
	<lastBuildDate>Thu, 04 Mar 2010 13:51:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/JohnSansom-SqlServerDba" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="johnsansom-sqlserverdba" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">JohnSansom-SqlServerDba</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Something for the Weekend: SQL Server Links for the week</title>
		<link>http://www.johnsansom.com/index.php/2010/02/sql-server-links190210/</link>
		<comments>http://www.johnsansom.com/index.php/2010/02/sql-server-links190210/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 11:00:11 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[SQL Server Links]]></category>
		<category><![CDATA[SQL Server News]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1960</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

Benchmarking: 1-TB table population (part 3: separating data and log files) &#8211; Here&#8217;s the next instalment in this excellent series from Paul Randal.
How to Make SQL Server Backups and Restores Faster &#8211; No nonsense, effective tips [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a href="http://www.sqlskills.com/BLOGS/PAUL/post/Benchmarking-1-TB-table-population-(part-3-separating-data-and-log-files).aspx">Benchmarking: 1-TB table population (part 3: separating data and log files)</a> &#8211; Here&#8217;s the next instalment in this excellent series from Paul Randal.</li>
<li><a title="How to Make SQL Server Backups and Restores Faster " href="http://www.brentozar.com/archive/2010/02/how-to-make-sql-server-backups-and-restores-faster/">How to Make SQL Server Backups and Restores Faster</a> &#8211; No nonsense, effective tips that you can put into action right now, delivered in person from <a title="Brent Ozar" href="http://www.brentozar.com">Brent Ozar </a>via the wonder that is YouTube.</li>
<li><a title="Playing With SQL Azure Data Synch" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3606.entry">Playing With SQL Azure Data Synch</a> &#8211; Here&#8217;s a nice walk-through by example, from <a title="Glenn Berry" href="http://glennberrysqlperformance.spaces.live.com/default.aspx">Glenn Berry</a>, for this new SQL Server technology.</li>
<li><a href="http://glennberrysqlperformance.spaces.live.com/blog/cns!45041418ECCAA960!3608.entry">Testing New Features in SQL Azure Service Update 1</a> &#8211; Part Deux of the Azure from SQL Server MVP <a title="Glenn Berry" href="http://glennberrysqlperformance.spaces.live.com/default.aspx">Glenn Berry</a>.</li>
<li><a href="http://josef-richberg.squarespace.com/journal/2010/2/16/ssis-2008-script-component-variable-gotcha.html">SSIS 2008 Script Component variable gotcha..</a> - Mixing things up a little here from the typical DBA links with a nice SSIS tip courtesy of <a title="Josef Richberg" href="http://josef-richberg.squarespace.com/">Josef Richberg</a>.</li>
<li><a href="http://josef-richberg.squarespace.com/journal/2010/2/15/another-way-to-access-variables-in-ssis-2008-script-componen.html">Another way to access variables in SSIS 2008 Script Component</a> &#8211; Follow on blog post again, from <a title="Josef Richberg" href="http://josef-richberg.squarespace.com/">Josef Richberg</a>.</li>
<li><a href="http://josef-richberg.squarespace.com/journal/2010/2/16/ssis-2008-script-component-variable-gotcha.html"></a><a rel="bookmark" href="http://michaeljswart.com/?p=564">More images from the Spatial Results tab</a> &#8211; Who said working with SQL Server is not art&#8230;..</li>
<li><a title="Permanent Link: NOT EXISTS vs NOT IN" rel="bookmark" href="http://sqlinthewild.co.za/index.php/2010/02/18/not-exists-vs-not-in/">NOT EXISTS vs NOT IN</a> &#8211; What to use and when? Which is better? SQL Server MVP <a title="Gail Shaw" href="http://sqlinthewild.co.za/">Gail Shaw</a> explains all.</li>
<li><a title="Permanent Link: NOT EXISTS vs NOT IN" rel="bookmark" href="http://sqlinthewild.co.za/index.php/2010/02/18/not-exists-vs-not-in/"></a><a title="Understanding SQL server memory grant" href="http://blogs.msdn.com/sqlqueryprocessing/archive/2010/02/16/understanding-sql-server-memory-grant.aspx">Understanding SQL server memory grant</a> &#8211; Very nice technically detailed article here from the SQL Server Query Processing team.</li>
<li><a title="Restarting the SQL Server Service Account – Why?" href="http://blogs.msdn.com/buckwoody/archive/2010/02/18/restarting-the-sql-server-service-account-why.aspx">Restarting the SQL Server Service Account – Why?</a> &#8211; How do you go about managing this security maintenance task?</li>
<li><a title="Restarting the SQL Server Service Account – Why?" href="http://blogs.msdn.com/buckwoody/archive/2010/02/18/restarting-the-sql-server-service-account-why.aspx"></a><a title="Code that Writes Code - A Good Idea or Not?" href="http://blogs.msdn.com/buckwoody/archive/2010/02/16/code-that-writes-code-a-good-idea-or-not.aspx">Code that Writes Code &#8211; A Good Idea or Not?</a> &#8211; Not if it&#8217;s NHibernate. I feel the authors pain on this one.</li>
<li><a title="Code that Writes Code - A Good Idea or Not?" href="http://blogs.msdn.com/buckwoody/archive/2010/02/16/code-that-writes-code-a-good-idea-or-not.aspx"></a><a title="Did you start your SQL Server Engine correctly?" href="http://blogs.msdn.com/psssql/archive/2010/02/19/did-you-start-your-sql-server-engine-correctly.aspx">Did you start your SQL Server Engine correctly?</a> &#8211; Very important advice here from the <a title="CSS SQL Server Engineers Team" href="http://blogs.msdn.com/psssql/default.aspx">CSS SQL Server  Engineers Team</a> on how to ensure you configure SQL Server start-up parameters correctly. If you have not done this yourself before then read this post as it provides details of some of the common gotchas.</li>
<li><a title="What's the Difference between Microsoft Mainstream and Extended Support?" href="http://blogs.msdn.com/psssql/archive/2010/02/17/mainstream-vs-extended-support-and-sql-server-2005-sp4-can-someone-explain-all-of-this.aspx">What the difference between Microsoft Mainstream and Extended Support?</a> &#8211; No idea but I intend to find out! It&#8217;s important for a DBA to be aware of the varying levels of support available in order to be in the best position to effectively manage our environments.</li>
</ul>
<h2>MVP Summit Week</h2>
<ul>
<li><a title="Permanent Link: 2010 MVP Summit Held This Week" rel="bookmark" href="http://www.bradmcgehee.com/2010/02/2010-mvp-summit-held-this-week/">2010 MVP Summit Held This Week</a> &#8211; Find out what the SQL Server MVP&#8217;s got up to this week at the Summit.</li>
<li><a title="MVP Summit Impressions From Day 1" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3566.entry">MVP Summit Impressions From Day 1</a> &#8211; See what SQL Server MVP <a title="Glenn Berry" href="http://glennberrysqlperformance.spaces.live.com/default.aspx">Glenn Berry</a> had to say.</li>
<li><a href="http://www.youtube.com/view_play_list?p=317E6541233CCDDD">MVP Party Time</a> &#8211; I wonder if the Oracle DBA&#8217;s can sing just as good&#8230;.</li>
</ul>
<h2>Misc Technology News</h2>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think deservers a mention this week then be sure to let me know! Send me an <a href="mailto:john@johnsansom.com">email</a> or contact me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=WkGwW-XNM_o:ea_nOMzP4us:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=WkGwW-XNM_o:ea_nOMzP4us:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=WkGwW-XNM_o:ea_nOMzP4us:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=WkGwW-XNM_o:ea_nOMzP4us:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/WkGwW-XNM_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/02/sql-server-links190210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Soemthing for the Weekend – SQL Server Links 12/02/10</title>
		<link>http://www.johnsansom.com/index.php/2010/02/soemthing-for-the-weekend-sql-server-links-120210/</link>
		<comments>http://www.johnsansom.com/index.php/2010/02/soemthing-for-the-weekend-sql-server-links-120210/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 19:21:05 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[SQL Server Links]]></category>
		<category><![CDATA[SQL Server News]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1938</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
One point that deserves a special mention this week is that there will be a Service Pack 4 for SQL Server 2005 following on from much debate and pressure from the SQL Server Community. For full details of the service pack release schedule see the Microsoft SQLReleaseServices Blog.
Here&#8217;s this weeks roundup of [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>One point that deserves a special mention this week is that there will be a Service Pack 4 for SQL Server 2005 following on from much debate and pressure from the SQL Server Community. For full details of the service pack release schedule see the <a title="Microsoft SQL Release Services Blog" href="http://blogs.msdn.com/sqlreleaseservices/default.aspx">Microsoft SQLReleaseServices</a> Blog.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a title="MCM Prep Week: Interview with Joe Sack" href="http://www.brentozar.com/archive/2010/02/mcm-prep-week-interview-with-joe-sack/">MCM Prep Week: Interview with Joe Sack</a> &#8211; Facinating interview courtesy of <a title="Brent Ozar" href="http://www.brentozar.com">Brent Ozar</a>. Have you got what it takes to be a Microsoft Certified Master?</li>
<li><a title="Native Restore from Litespeed Backup" href="http://thomaslarock.com/2010/02/native-restore-from-litespeed-backup">Native Restore From Litespeed Backup</a> - Here&#8217;s a great tip from <a title="Thomas Larock" href="http://thomaslarock.com/">Thomas Larock</a> on how to extract the natural SQL Server Backup file from a Litespeed backup archive.</li>
<li><a title="Some Initial Insert Test Benchmarks on SQL Server 2008 R2" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3527.entry">Some Initial Insert Test Benchmarks on SQL Server 2008 R2</a> - Detailed performance testing walk through here, learn how the Pro&#8217;s do it.</li>
<li><a title="Round Two of Insert Benchmark Tests" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3536.entry">Round Two of Insert Benchmark Tests</a> &#8211; Part 2 of the the above&#8230;&#8230;..</li>
<li><a href="http://kendalvandyke.blogspot.com/2010/02/tale-of-two-execution-plans-solved.html">A Tale Of Two Execution Plans – Solved!</a> &#8211; A lesson well worth learning here from <a title=" Kendal Van Dyke" href="http://kendalvandyke.blogspot.com/">Kendal Van Dyke</a>. It&#8217;s also great to see how the SQL Server community collaborates on issues together making us all better Data Professionals.</li>
<li><a title="Top 10 Reasons Why Access Still Doesn't Rock" href="http://www.brentozar.com/archive/2010/02/top-10-reasons-why-access-still-doesnt-rock/">Top 10 Reasons Why Access Still Doesn&#8217;t Rock</a>- Wait a minute, should this not have been a top 100 post? <a title="Brent Ozar" href="http://www.brentozar.com">Brent Oza</a>r sets the record straight.</li>
<li><a title="A Simple Refactoring" href="http://facility9.com/2010/02/11/a-simple-refactoring?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+facility9+(facility9)&amp;utm_content=Google+Reader">A Simple Refactoring</a>- Applying the principle of low hanging fruit to performance tuning.</li>
<li><a title="Free SQL Server Training" href="http://www.pragmaticworks.com/resources/webinars/February2010Webinar.aspx">FREE SQL Server Training</a> &#8211; More Free SQL Server Training has come to my attention this week. In the current economic climate, not all employers have budget for training so be sure not to miss out and make the most of these opportunities.</li>
<li><a title="Pay Attention to Maintenance Cleanup Job Configuration (If you use Maintenance Plans)" href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/02/10/pay-attention-to-maintenance-cleanup-job-configuration-if-you-use-maintenance-plans.aspx">Pay Attention to Maintenance Cleanup Job Configuration (If you use Maintenance Pla</a><a title="Pay Attention to Maintenance Cleanup Job Configuration (If you use Maintenance Plans)" href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/02/10/pay-attention-to-maintenance-cleanup-job-configuration-if-you-use-maintenance-plans.aspx">ns)</a> &#8211; Make sure you are not leaving yourself exposed to a Data Loss Event by avoiding this common mistake.</li>
<li><a title="Mirroring Multiple=">Mirroring Multiple SQL Server Databases on a Single Instance</a> &#8211; Did you know that Microsoft officially only support up to 10 Database Mirroring sessions on a 32 bit installation of SQL Server? Neither did I&#8230;&#8230;.</li>
<li><a title="Caching SSRS Reports for Performance" href="http://blogs.technet.com/rob/archive/2010/02/11/caching-ssrs-reports-for-performance.aspx">Caching SSRS Reports for Performance</a> &#8211; A nice walk through here.</li>
<li><a id="viewpost_ascx_TitleUrl" title="Title of this entry." href="http://weblogs.sqlteam.com/dang/archive/2010/02/07/Ad-Hoc-Rollup-by-datetime-Interval.aspx">Ad-Hoc Rollup by date/time Interval</a> - A detailed T-SQL Walkthrough here courtesy of <a title="Dan Guzman" href="http://weblogs.sqlteam.com/dang/Default.aspx">Dan Guzman</a>.</li>
<li><a title="SQL Server Help" href="http://blogs.msdn.com/buckwoody/archive/2010/02/09/help-for-sql-server.aspx">SQL Server Help</a> &#8211; Find out how to get SQL Server Help.</li>
</ul>
<h2>Misc Technology News</h2>
<ul>
<li><a title="First results from Large Hadron Collider published" href="http://news.bbc.co.uk/2/hi/science/nature/8505203.stm">First results from Large Hadron Collider published</a></li>
</ul>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mentioning then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or Follow me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=79jHe-BnmB4:stcgnKDAKsI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=79jHe-BnmB4:stcgnKDAKsI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=79jHe-BnmB4:stcgnKDAKsI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=79jHe-BnmB4:stcgnKDAKsI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/79jHe-BnmB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/02/soemthing-for-the-weekend-sql-server-links-120210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something for the Weekend: SQL Server Links for the week 05/02/10</title>
		<link>http://www.johnsansom.com/index.php/2010/02/something-for-the-weekend-sql-server-links-for-the-week-050210/</link>
		<comments>http://www.johnsansom.com/index.php/2010/02/something-for-the-weekend-sql-server-links-for-the-week-050210/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 16:59:59 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[SQL Server Links]]></category>
		<category><![CDATA[SQL Server News]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1908</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

Looking at Page Contents &#8211; A little code template here from Michael J Swart.
Why You Might Want to Buy SQL Server 2008 Now &#8211; Brent Ozar explains why you may want to look into [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a rel="bookmark" href="http://michaeljswart.com/?p=529">Looking at Page Contents</a> &#8211; A little code template here from <a title="Michael J Swart" href="http://michaeljswart.com/">Michael J Swart</a>.</li>
<li><a title="#  Why You Might Want to Buy SQL Server 2008 Now" href="http://www.brentozar.com/archive/2010/02/why-you-might-want-to-buy-sql-server-2008-now/">Why You Might Want to Buy SQL Server 2008 Now</a> &#8211; Brent Ozar explains why you may want to look into SQL Server 2008 now in order to minimise longer term costs to your business.</li>
<li><a title="Permanent Link: Searching for Objects or Text Strings Using SQL Search" rel="bookmark" href="http://www.bradmcgehee.com/2010/02/searching-for-objects-or-text-strings-using-sql-search/">Searching for Objects or Text Strings Using SQL Search</a></li>
<li><a rel="bookmark" href="http://michaeljswart.com/?p=533">Removing Columns</a> &#8211; Now this is why I just love working with SQL Server, you really can learn something new each day. Did you know that removing a column from a table does not reclaim the space?<a title="Michael J Swart" href="http://michaeljswart.com/"> Michael J Swart</a> (Database Whisperer) reveals all.</li>
<li><a href="http://www.sqlskills.com/BLOGS/PAUL/post/Script-open-transactions-with-text-and-plans.aspx">Script: open transactions with text and plans</a> &#8211; Nice T-SQL script here from <a title="Paul Randal" href="http://www.sqlskills.com/BLOGS/PAUL/">Paul Randal</a> that identifies who currently has open transactions on the server.</li>
<li><a title="Performance improvement by orders of magnitude when merging partitions in SQL Server 2008R2 " href="http://blogs.msdn.com/sqlserverstorageengine/archive/2010/02/03/performance-improvement-by-orders-of-magnitude-when-merging-partitions-in-sql-server-2008r2.aspx">Performance improvement by orders of magnitude when merging partitions in SQL Server 2008R2</a> &#8211; A nice technical blog post here from the SQL Server Storage team.</li>
<li><a title="Detecting and Troubleshooting Non-Yielding Worker Threads in SQL Server 2005/2008" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3426.entry">Detecting and Troubleshooting Non-Yielding Worker Threads in SQL Server 2005/2008</a> &#8211; A tale of Troubleshooting here from Glenn Berry including a couple of nice queries.</li>
<li><a title="Three Engine Improvements in SQL Server 2008 R2" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3419.entry">Three Engine Improvements in SQL Server 2008 R2</a> &#8211; So by now you probably all know that SQL Server 2008 R2 is for the most part all about Business Intelligence and feature integration with Microsoft Office. Sigh&#8230;..That&#8217;s nice but what about the SQL Server Storage engine? Read this post from Glenn Berry to find out more.</li>
<li><a title="SQL Search – a review" href="http://sqlservertimes2.com/?p=484">SQL Search – a review</a> &#8211; Here&#8217;s a nice review of the new FREE utility from those clever folk at RedGate.</li>
<li><a href="http://josef-richberg.squarespace.com/journal/2010/2/3/using-union-all-to-simplify-lookup-component-code.html">Using Union All to simplify Lookup Component code</a> &#8211; Here&#8217;s a nice little SSIS tip.</li>
</ul>
<h2>Misc Technology News</h2>
<ul>
<li><a title="Microsoft to patch 17-year-old computer bug " href="http://news.bbc.co.uk/1/hi/technology/8499859.stm">Microsoft to patch 17-year-old computer bug</a></li>
<li><a title="US Department of Justice objects to Google book plan" href="http://news.bbc.co.uk/1/hi/technology/8500022.stm">US Department of Justice objects to Google book plan</a></li>
<li><a href="http://www.channelregister.co.uk/2010/02/04/juniper_250gigabitps_silicon_on_the_way/">Juniper bakes 250Gbps core router chip</a></li>
<li><a title="MS hits Office 2010 upgrade program button prematurely" href="http://www.theregister.co.uk/2010/02/05/office_2010_upgrade_guarantee_program/">MS hits Office 2010 upgrade program button prematurely</a></li>
</ul>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mention<a href="file:///C:/Documents%20and%20Settings/jsansom/Application%20Data/Microsoft/Internet%20Explorer/Quick%20Launch/Launch%20Internet%20Explorer%20Browser.lnk"></a>ing then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or Follow me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=AvqxcrbotUA:0pT6byYvylA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=AvqxcrbotUA:0pT6byYvylA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=AvqxcrbotUA:0pT6byYvylA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=AvqxcrbotUA:0pT6byYvylA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/AvqxcrbotUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/02/something-for-the-weekend-sql-server-links-for-the-week-050210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 Junior DBA Interview Tips</title>
		<link>http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/</link>
		<comments>http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 09:00:18 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Server Tips]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Interview Tips]]></category>
		<category><![CDATA[Junior DBA]]></category>
		<category><![CDATA[Junior DBA Tips]]></category>
		<category><![CDATA[SQL Server Junior DBA]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1750</guid>
		<description><![CDATA[The start of a new year is a time for self reflection and along with it perhaps a desire to do something new with your career. Maybe you are considering becoming a Junior Database Administrator (DBA)?
Acquiring your very first role as a Junior DBA is no easy feat. Just browse any one of the many [...]]]></description>
			<content:encoded><![CDATA[<p>The start of a new year is a time for self reflection and along with it perhaps a desire to do something new with your career. Maybe you are considering becoming a Junior Database Administrator (DBA)?</p>
<p>Acquiring your very first role as a Junior DBA is no easy feat. Just browse any one of the many job sites advertising SQL Server DBA job vacancies you will quickly come to realise that almost all Junior positions list a number of years of SQL Server experience as a necessary requirement.</p>
<h3>How Most Junior DBA&#8217;s Earn Their Stripes</h3>
<p>The truth is that a significant proportion of SQL Server Database Administrators (DBA&#8217;s) start out in an alternative discipline, that is to say they are Accidental DBA&#8217;s. For example, a Windows Server<em> </em>Administrator may also be tasked with looking after the businesses SQL Server infrastructure, perhaps as the result of a DBA having left the company or through cross training opportunities within the organisation. These individuals acquire the necessary experience on the job within their existing role in order to make the transition to a Junior DBA position.</p>
<p>If you are seriously interested in either starting out on the path to becoming a SQL Server Database Administrator or perhaps wish to make a lateral move from an alternative IT discipline, this revelation can be quite disheartening. You may feel that it is somewhat of no win scenario, as right now you have limited experience working with SQL Server, hence why you are considering junior opportunities in the first place.</p>
<h3>Help is at Hand</h3>
<p>Well fear not my friend, for all is not lost. It may surprise you to hear that I am of the opinion that SQL Server experience alone is NOT the most desirable quality of a Junior DBA! You see the Accidental DBA will often be self taught and so although more experienced than perhaps you are currently, they have acquired their knowledge of SQL Server the hard way. The very same knowledge can be passed on to a newly hired Junior DBA by an experienced mentor in a fraction of the time. For this reason there are a number of very desirable qualities other than SQL Server experience alone, that can provide you with a serious edge over the competition.</p>
<p>Over the years I have interviewed many aspiring data professionals and I want to share with you what I look for when hiring Junior DBA&#8217;s.</p>
<p><strong><span style="text-decoration: underline;">My Top 10 Interview Tips for Junior DBA&#8217;s</span></strong><strong><span style="text-decoration: underline;"> </span></strong></p>
<h4><span style="color: #000080;">1. Are You a Problem Solver?</span></h4>
<p>At the core of being a successful Database Administrator is an ability and a drive to problem solve.</p>
<p>You need to be able to effectively demonstrate your passion for problem solving. Problem solving is not really a skill that you can teach but it can certainly be improved and enhanced through practice.</p>
<p>You must be able to demonstrate a good level of problem solving to the interviewer.</p>
<p>Be prepared for your interview whether it be face to face or over the telephone, with a whole host of examples that demonstrate your ability and flair to problem solve.</p>
<h4><span style="color: #000080;">2. Do You Know The Primary Responsibility of a DBA?</span></h4>
<p>Do you know what the <a title="The Primary Responsibility of a DBA" href="http://www.johnsansom.com/index.php/2009/07/the-database-administrators-primary-responsibility/">primary responsibility of a DBA</a> is? If not then you need to read this now! Think of it as the DBA Prime Directive. Everything that you do as a data professional is built on this.</p>
<h4><span style="color: #000080;">3. What do You Know About Database Backups?</span></h4>
<p>Ideally you should get to grips with the basics of SQL Server backups but as a very minimum you must know why they are necessary and why they are important.</p>
<h4><span style="color: #000080;">4. Why do You Want to be a DBA?</span></h4>
<p>I look for candidates who know why they want to be a Database Administrator. There is no right or wrong answer here but you must be able to demonstrate to the interviewer that your reasons are clear and have been thought out.</p>
<h4><span style="color: #000080;">5. Can you provide quality examples of your previous projects?</span></h4>
<p>You will almost certainly be quizzed by your interviewer on the details of your past projects. This will enable you to demonstrate a wealth of qualities about yourself.</p>
<p>The key is to ensure that you have prepared ahead of time, a number of projects that you can discuss with your interviewer. Although preferable, your examples do not have to be SQL Server Specific or even IT Project work for that matter. Anything from University projects to work experience or examples of problem solving from part time jobs. Just be sure to have sufficient detail readily available and clear in your mind.</p>
<p>This is your opportunity to demonstrate to the the interviewer any number of your qualities and skills. To get you started, you may with to consider how you can discuss your project work to demonstrate:</p>
<ul>
<li>Working      in groups</li>
<li>Working      independently and without supervision</li>
<li>Planning</li>
<li>Project      Management</li>
<li>Time      Management</li>
<li>Problem      Solving</li>
</ul>
<h4><span style="color: #000080;">6. Can you Demonstrate Overcoming Adversity?</span></h4>
<p>Be prepared to provide examples of how you have overcome problems or difficulties.</p>
<p>Show that you are keen to develop professionally by providing insight and evaluation of your own performance. Consider, ahead of time, how could you have done things differently?</p>
<h4><span style="color: #000080;">7. Do You Have a Basic Grasp of the Relational Model?</span></h4>
<p>You must at least learn and understand the fundamentals of <a title="The Relational Model" href="http://en.wikipedia.org/wiki/Relational_model">The Relational Model</a> before applying for a DBA position. There is simply no excuse in the Internet era for not having an overall understanding of the basics. Don&#8217;t like studying online then get yourself a good book. Perhaps <a title="Database Systems" href="http://www.amazon.co.uk/Database-Systems-Implementation-Management-International/dp/0321210255/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1262552494&amp;sr=8-2">Database Systems</a> by Connolly &amp; Beg would be a good place to start for you and is an excellent text used by many Computer Science Degree courses.</p>
<h4><span style="color: #000080;">8. Do you Have a Personal Development Plan?</span></h4>
<p>In order to be a data professional you have to continually be learning about your chosen subject. In an ideal world your employer would assist you with this endeavour however you should take charge of managing your own professional development. Your prospective employer may have budget to allocate to your training but may not know how it should be spent or what courses would be appropriate for you. Individuals that can clearly demonstrate that they are proactive about managing their own professional development are sought after.</p>
<p>Consider how you are going to increase your skills and knowledge of SQL Server. The more detailed your plans the more attractive a proposition you are to a perspective employer.</p>
<p>Some tips to get you started include:</p>
<ul>
<li>Join      your local SQL Server User Group</li>
<li>Study      for SQL Server Certifications such as MCTS or MCITP.</li>
<li>What      SQL Server texts are you currently reading and would like to read? You      have a reading list right?</li>
<li>Follow      SQL Server Bloggers by subscribing to their RSS feeds.</li>
<li>Follow      SQL Server DBA&#8217;s on Twitter to keep up to date on what&#8217;s going on the SQL      Server Community.</li>
<li>Visit      SQL Server Forums to both review questions and contribute answers.</li>
<li>Frequent      some of the many excellent SQL Server Community sites such as      <a title="SQL Server Central" href="http://www.sqlservercentral.com/">SQLServerCentral</a>, <a title="SQL Server Pedia" href="http://www.sqlserverpedia.com/">SQLServerPedia </a>and <a title="SQLTeam" href="http://www.sqlteam.com/">SQLTeam</a>.</li>
</ul>
<h4><span style="color: #000080;">9. Do You Have Any Goals?</span></h4>
<p>Ensure that you can provide details of both your short (within the next year) and medium term (next five years) goals. This may link in to your Professional Development plan but you may also wish to include details of your life goals. Again there is no right or wrong answer here, as the objective is to demonstrate that you are forward thinking and ambitious but if you want to get serious about your goals then you will want to make sure that they are <a title="SMART Goals" href="http://en.wikipedia.org/wiki/SMART_criteria">SMART</a> goals.</p>
<h4><span style="color: #000080;">10. Do You Know What You Don&#8217;t Know?</span></h4>
<p>The more you learn and the more experience you acquire, the more you will realise what you don&#8217;t know. Let me tell you now that there is not a single data professional that knows absolutely all there is to know about SQL Server. It is simply too large a subject. That is why there are specialist SQL Server roles, such as Database Developer, Database Administrator, Business Intelligence Analyst, Report Writer and many more.</p>
<p>The key point to take away here is that it is perfectly acceptable and expected for you to not know the answer to a particular SQL Server question or problem. Personally I consider it a strength to know what it is that you do not know. Knowing your limits means that you can identify when it is time to call in the cavalry.</p>
<p>When you are stumped by a question in your interview don&#8217;t panic! Simply tell the interviewer that this is not an aspect of SQL Server that you are currently familiar with and then immediately go on to explain, if possible, how you would go about finding out the information required. Remember, it&#8217;s all about problem solving. There will be times in you career as a data professional that you do not have the answer to an issue immediately before you but if you have the means to find the solution then you are indeed a valuable asset.</p>
<h3>What Are Your DBA Interview Tips?</h3>
<p>I&#8217;d love to know what are your DBA interview tips? Leave your thoughts and feedback below.</p>
<h3>Related Posts</h3>
<ul>
<li><a title="The Database Administrators Primary Responsibility" href="http://www.johnsansom.com/index.php/2009/07/the-database-administrators-primary-responsibility/">The      Database Administrators Primary Responsibility</a></li>
<li><a title="Blog Your Way to Becoming a Better DBA" href="http://www.johnsansom.com/index.php/2009/10/blog-your-way-to-becoming-a-better-dba/">Blog      Your Way to Becoming a Better DBA</a></li>
<li><a title="What it takes to be an outstanding DBA" href="http://www.johnsansom.com/index.php/2009/05/what-does-it-take-to-be-an-outstanding-sql-server-dba/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+JohnSansom%2FSQLServerpediaSyndication+%28John+Sansom+-+SQL+Server+DBA+in+the+UK%29">What it takes to be an Outstanding DBA</a></li>
<li><a title="How to get a Junior DBA Job" href="http://www.brentozar.com/archive/2009/04/how-to-get-a-junior-dba-job-part-1/">How to Get a Junior DBA Job</a></li>
<li><a title="Junior DBA Interview Questions" href="http://thomaslarock.com/2009/04/junior-dba-questions/">Junior DBA Interview Questions</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=ujcdXj4jLZ4:_oLjdgmKUjk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=ujcdXj4jLZ4:_oLjdgmKUjk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=ujcdXj4jLZ4:_oLjdgmKUjk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=ujcdXj4jLZ4:_oLjdgmKUjk:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/ujcdXj4jLZ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/02/top-10-junior-dba-interview-tips/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Something for the weekend: SQL Server Links 29/01/10</title>
		<link>http://www.johnsansom.com/index.php/2010/01/sql-server-links220110/</link>
		<comments>http://www.johnsansom.com/index.php/2010/01/sql-server-links220110/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 09:00:28 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1877</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

XML Validation in SQL Server Intergration Services &#8211; A nice walkthrough here from Simon Sabin.
SQL Azure Frequently Asked Questions &#8211; So what&#8217;s this SQL Azure all about then? Brent Ozar answers the most frequently [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a title="XML Validation in SQL Server Intergration Services" href="http://sqlblogcasts.com/blogs/simons/archive/2010/01/20/XML-Validation-in-SQL-Server-Intergration-Services.aspx?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SimonsSqlServerStuff+%28SimonS+SQL+Server+Stuff%29&amp;utm_content=Google+Reader">XML Validation in SQL Server Intergration Services</a> &#8211; A nice walkthrough here from Simon Sabin.</li>
<li><a title="SQL Azure Frequently Asked Questions" href="http://www.brentozar.com/archive/2010/01/sql-azure-frequently-asked-questions/">SQL Azure Frequently Asked Questions</a> &#8211; So what&#8217;s this SQL Azure all about then? <a title="Brent Ozar" href="http://www.brentozar.com">Brent Ozar</a> answers the most frequently asked questions about this young technology.</li>
<li><a title="Improvement in minimizing lockhash key collisions in SQL Server 2008R2 and its impact on concurrency " href="http://blogs.msdn.com/sqlserverstorageengine/archive/2010/01/18/improvement-in-minimizing-lockhash-key-collisions-in-sql-server-2008r2-and-its-impact-on-concurrency.aspx">Improvement in minimizing lockhash key collisions  in SQL Server 2008R2 and its impact on concurrency</a> &#8211; Some indepth SQL Server technical discussions here from the SQL Server Storage Engine team.</li>
<li><a href="http://www.sqlskills.com/BLOGS/PAUL/post/DBCC-CHECKFILEGROUP-bug-fixed-in-2008-SP1-CU6.aspx">DBCC CHECKFILEGROUP bug fixed in 2008 SP1 CU6</a> &#8211; As the title describes, the legend that is<a title="Paul Randal" href="http://www.sqlskills.com/BLOGS/PAUL/"> Paul Randal</a> notifies us of this latest bug fix.</li>
<li><a href="http://www.sqlskills.com/BLOGS/PAUL/post/Benchmarking-1-TB-table-population-%28part-1%29.aspx">Benchmarking: 1-TB table population (part 1: the baseline)</a> &#8211; Awesome first installment to this series of intricately detailed performance analysis from <a title="Paul Randal" href="http://www.sqlskills.com/BLOGS/PAUL/">Paul Randal</a>.</li>
<li><a title="Tuning ‘cost threshold for parallelism’ from the Plan Cache " href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/01/19/tuning-cost-threshold-of-parallelism-from-the-plan-cache.aspx">Tuning ‘cost threshold for parallelism’ from the Plan Cache</a> &#8211; Interesting discussion here from <a title="Jonathan Kehayias" href="http://sqlblog.com/blogs/jonathan_kehayias/default.aspx">Jonathan Kehayias</a> about consistently producing a parallel query plan.</li>
<li><a title="Changes to sp_estimate_data_compression_savings stored procedure in SQL2008R2 " href="http://blogs.msdn.com/sqlserverstorageengine/archive/2009/09/16/changes-to-sp-estimate-data-compression-savings-stored-procedure-in-sql2008r2.aspx">Changes to sp_estimate_data_compression_savings stored procedure in SQL2008R2</a> &#8211; Another great contribution from those clever chaps in the SQL Server Storage Engine Team.</li>
<li><a id="viewpost_ascx_TitleUrl" title="Title of this entry." href="http://weblogs.sqlteam.com/mladenp/archive/2010/01/21/SQL-Server-ndash-Find-the-most-expensive-operations-in-Execution.aspx">SQL Server – Find the most expensive operations in Execution plans</a> &#8211; Now this is cool! I will be adding this my collection of handy DBA scripts.</li>
<li><a title="Setting a Dedicated Login To Run DMV Queries in SQL Server 2005\2008" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3285.entry">Setting a Dedicated Login To Run DMV Queries in SQL Server 2005\2008</a> &#8211; Frustrated with permissions required to access SQL Server DMV&#8217;s. Check out <a title="Glenn Berry" href="http://cid-45041418eccaa960.profile.live.com/">Glenn Berry</a>&#8217;s solutions to your woes.</li>
<li><a title=" Index Defrag Script Updates – Beta Testers Needed" href="http://sqlfool.com/2010/01/index-defrag-script-updates-beta-testers-needed/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SqlFool+%28SQL+Fool%29&amp;utm_content=Google+Reader">Index Defrag Script Updates – Beta Testers Needed</a> &#8211; Michell Ufford &#8211; Needs you!</li>
<li><a title="Cross Apply" href="http://thesqlagentman.com/2010/01/cross-apply/">Cross Apply</a> &#8211; What is it and how does it work. SQL Agent Man reveals all.</li>
<li><a title="Question: Is NT AUTHORITY\SYSTEM a sysadmin in your SQL Server and Why?" href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/01/27/question-is-nt-authority-system-a-sysadmin-in-your-sql-server-and-why.aspx">Question: Is NT AUTHORITY\SYSTEM a sysadmin in your SQL Server and Why?</a> &#8211; A very interesting question posed by <a title="Jonathan Kehayias" href="http://sqlblog.com/blogs/jonathan_kehayias/default.aspx">Jonathan Kehayias</a> here. Have you removed yours?</li>
</ul>
<h2>Misc Technology News</h2>
<ul>
<li><a title="Apple Unveils iPad Tablet Device" href="http://news.bbc.co.uk/1/hi/technology/8483654.stm">Apple Unveils iPad Tablet device</a> &#8211; BBC news coverage. Really unexcited about this. Will it be on your Christmas list this year?</li>
<li><a title="Windows 7 upgrades Vista laptops to lower battery life" href="http://www.theregister.co.uk/2010/01/29/windows_7_laptop_battery_issues/">Windows 7 upgrades Vista laptops to lower battery life</a> &#8211; &#8220;I can-ne find the power captain!&#8221;</li>
<li><a title="Russia tests stealth fighter jet" href="http://news.bbc.co.uk/1/hi/world/europe/8486812.stm">Russia Tests Stealth Fighter Jet</a> &#8211; More BBC News coverage. Is it just me or does this video look fake?</li>
<li><a title="How secure are virtual desktops, really?" href="http://www.theregister.co.uk/2010/01/29/security_virtual/">How secure are virtual desktops, really?</a> &#8211; With the increasing uptake of virtualisation technologies, how much thought have you given to their security?</li>
</ul>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mentioning then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or Follow me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=fMMh9SpiIXc:gkw_iF8OqTM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=fMMh9SpiIXc:gkw_iF8OqTM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=fMMh9SpiIXc:gkw_iF8OqTM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=fMMh9SpiIXc:gkw_iF8OqTM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/fMMh9SpiIXc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/01/sql-server-links220110/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something for the weekend: SQL Server Links for the week 14/01/10</title>
		<link>http://www.johnsansom.com/index.php/2010/01/sql-server-links-140110/</link>
		<comments>http://www.johnsansom.com/index.php/2010/01/sql-server-links-140110/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 12:26:12 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1858</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Have you got what it takes to be a SQL Server DBA or are you looking for that new SQL Server role? Be sure not to miss my Top 10 Junior DBA Interview Tips.
Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

IN [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Have you got what it takes to be a SQL Server DBA or are you looking for that new SQL Server role? Be sure not to miss my <a title="Top 10 Junior DBA Interview Tips" href="http://www.johnsansom.com/index.php/2010/01/top-10-junior-dba-interview-tips/">Top 10 Junior DBA Interview Tips</a>.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a title="IN vs INNER JOIN" href="http://sqlinthewild.co.za/index.php/2010/01/12/in-vs-inner-join/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SqlInTheWild+%28SQL+in+the+Wild%29">IN vs INNER JOIN</a> &#8211; I had been under the impression that <a title="Gail Shaw" href="http://sqlinthewild.co.za/">Gail Shaw</a> would be taking a respite from Blogging. I for one am sure glad this appears not to be the case as here&#8217;s another excellent blog post from her.</li>
<li><a title="Knowing and not Knowing" href="http://facility9.com/2010/01/14/knowing-and-not-knowing?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+facility9+%28facility9%29">Knowing and not Knowing</a> &#8211; Although not SQL Server specific this excellent post from <a title="Jeremiah Peschka" href="http://facility9.com/2010/01/14/knowing-and-not-knowing?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+facility9+%28facility9%29">Jeremiah Peschka</a> discusses an important concept required in order to be a successful DBA.</li>
<li><a title="# User defined function performance is awful, Micorosft please sort this out" href="http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/User-defined-function-performance-is-awful--Micorosft-please-sort-this-out.aspx?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SimonsSqlServerStuff+%28SimonS+SQL+Server+Stuff%29">User defined function performance is awful, Microsoft please sort this out</a></li>
<li><a title="Fooling the Query Optimizer " href="http://sqlblog.com/blogs/ben_nevarez/archive/2010/01/13/fooling-the-query-optimizer.aspx">Fooling the Query Optimizer</a> &#8211; An interesting little peek here at the inner working of the query optimizer from<a title="Ben Nearez" href="http://sqlblog.com/blogs/ben_nevarez/default.aspx"> Ben Nevarez</a>.</li>
<li><a title="free eBook on SQL Server Maintenance Plans" href="http://www.bradmcgehee.com/2010/01/free-ebook-on-sql-server-maintenance-plans-now-available/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SqlAloha+%28SQL+Aloha%29">Free eBook on SQL Server Maintenance Plans</a> &#8211; Get yourself a copy. Sure you may think you know all there is know about maintenance plans but it&#8217;s free right!</li>
<li><a id="viewpost_ascx_TitleUrl" title="Title of this entry." href="http://weblogs.sqlteam.com/mladenp/archive/2010/01/12/SQL-Server---How-many-times-is-the-subquery-executed.aspx">SQL Server &#8211; How many times is the subquery executed?</a> &#8211; An interesting snippet here at how subqueries do not always work as you might expect.</li>
<li><a title="Adding a PK online? " href="http://sqlblog.com/blogs/tibor_karaszi/archive/2010/01/13/adding-a-pk-online.aspx?CommentPosted=true#commentmessage">Adding a PK online?</a> &#8211; Can this even be done? Take a look at this blog post from <a title="Tibor Karaszi" href="http://sqlblog.com/blogs/tibor_karaszi/default.aspx">Tibor Karaszi</a> to find out.</li>
<li><a title="http://sqlblog.com/blogs/tibor_karaszi/archive/2010/01/11/is-there-and-overhead-to-rpc-events.aspx" href=" Is there and overhead to RPC events? ">Is there and overhead to RPC events?</a> &#8211; A fantastically insightful and detailed analysis, including walk through.</li>
<li><a title=" Finding Implicit Column Conversions in the Plan Cache " href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/01/08/finding-implicit-column-conversions-in-the-plan-cache.aspx">Finding Implicit Column Conversions in the Plan Cache</a> &#8211; Brilliant SQL Snippet here.</li>
<li><a title="The Database Design Process" href="http://blogs.msdn.com/buckwoody/archive/2010/01/14/the-database-design-process.aspx">The Database Design Process</a> &#8211; Buck Woody tells us how he goes about the process.</li>
<li><a title="Permanent Link: Learn Free at SQLLunch" rel="bookmark" href="http://www.bradmcgehee.com/2010/01/learn-free-at-sqllunch/">Learn Free at SQLLunch</a> &#8211; FREE SQL Server Training! Find out how you can make the most of your lunch, snacks not included.</li>
<li><a title="Permanent Link: How to Use SQL Backup Inside a Maintenance Plan" rel="bookmark" href="http://www.bradmcgehee.com/2010/01/how-to-use-sql-backup-inside-a-maintenance-plan/">How to Use SQL Backup Inside a Maintenance Plan</a> &#8211; Fantastic little tip here that can be applied to any 3rd Party Database Backup Utility.</li>
</ul>
<h2>Misc Technology News</h2>
<ul>
<li><a title="German government warns against using MS Explorer " href="http://news.bbc.co.uk/1/hi/technology/8463516.stm">German government warns against using MS Explorer</a></li>
<li><a title="Kodak sues Apple and RIM over iPhone and Blackberry" href="http://news.bbc.co.uk/1/hi/technology/8460899.stm">Kodak sues Apple and RIM over iPhone and Blackberry</a></li>
</ul>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mentioning then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or Follow me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=oU2DHy1_o7A:2Eq4Y0Q3ogk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=oU2DHy1_o7A:2Eq4Y0Q3ogk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=oU2DHy1_o7A:2Eq4Y0Q3ogk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=oU2DHy1_o7A:2Eq4Y0Q3ogk:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/oU2DHy1_o7A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/01/sql-server-links-140110/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Something for the weekend: SQL Server Links 08/01/10</title>
		<link>http://www.johnsansom.com/index.php/2010/01/sql-server-links080110/</link>
		<comments>http://www.johnsansom.com/index.php/2010/01/sql-server-links080110/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 11:41:41 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[SQL Server Links]]></category>
		<category><![CDATA[SQL Server News]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1809</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

‘Cannot Generate SSPI Context’ and Service Account Passwords &#8211; An interesting case walk-through here from the CSS SQL Server Engineers, albeit quite specialised.
Should PASS hold the conference on the East coast &#8211; Is it [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Here&#8217;s this weeks roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a title="‘Cannot Generate SSPI Context’ and Service Account Passwords" href="http://blogs.msdn.com/psssql/archive/2009/12/30/cannot-generate-sspi-context-and-service-account-passwords.aspx">‘Cannot Generate SSPI Context’ and Service Account Passwords</a> &#8211; An interesting case walk-through here from the CSS SQL Server Engineers, albeit quite specialised.</li>
<li><a title="Should PASS hold the conference on the East coast" href="http://sqlblogcasts.com/blogs/simons/archive/2010/01/04/Should-PASS-hold-the-conference-on-the-East-coast.aspx?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SimonsSqlServerStuff+%28SimonS+SQL+Server+Stuff%29&amp;utm_content=Google+Reader">Should PASS hold the conference on the East coast</a> &#8211; Is it time to relocate the PASS summit?</li>
<li><a title="Introduction to Resource Governor" href="http://www.bradmcgehee.com/2010/01/introduction-to-the-sql-server-2008-resource-governor/">Introduction To Resource Governor</a> &#8211; Here&#8217;s an excerpt from <a title="Brad McGehee" href="http://www.bradmcgehee.com/">Brad McGehee&#8217;s</a> ebook on this excellent feature, new to SQL Server 2008.</li>
<li><a title="PASS Summit Venue" href="http://thomaslarock.com/2010/01/pass-summit-venue/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Sqlbatmancom+%28SQLBatman.com%29&amp;utm_content=Google+Reader">PASS Summit Venue</a> &#8211; Banter from SQLRockstar.</li>
<li><a title="How to Read the Results of SELECT @@VERSION in SQL Server" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!3075.entry">How to Read the Results of SELECT @@VERSION in SQL Server</a></li>
<li><a title="Plan and Prepare or Just Do It? How about Both!" href="http://blogs.msdn.com/buckwoody/archive/2010/01/07/plan-and-prepare-or-just-do-it-how-about-both.aspx">Plan and Prepare or Just Do It? How about Both!</a> &#8211; What type of Data Professional are you? Are you a Planner or do you prefer to Just Do It and get things done? Buck Woody discusses.</li>
<li><a title="Delimited String Tennis (Again) .....The Final Volley" href="http://bradsruminations.blogspot.com/2010/01/delimited-string-tennis-again-final.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+BradsRuminations+%28Brad%27s+Ruminations%29&amp;utm_content=Google+Reader">Delimited String Tennis (Again) &#8230;..The Final Volley</a> -</li>
<li><a href="http://www.sqlskills.com/BLOGS/PAUL/post/Misconception-around-database-snapshots-and-transaction-rollbacks.aspx">Misconceptions around database snapshots and transaction rollbacks</a></li>
<li><a title="MERGE and OUTPUT – the swiss army knife of T-SQL" href="http://sqlblog.com/blogs/jamie_thomson/archive/2010/01/06/merge-and-output-the-swiss-army-knife-of-t-sql.aspx">MERGE and OUTPUT – the swiss army knife of T-SQL</a> &#8211; Some nice clear example of how to put these commands, new to SQL Server 2008, into good use. Courtesy of <a title="Jamie Thomson" href="http://sqlblog.com/blogs/jamie_thomson/default.aspx">Jamie Thomson</a>.</li>
</ul>
<h3>Misc Techie Stuff</h3>
<ul>
<li><a title="Social Sunday: LinkedIn Update " href="http://sqlblog.com/blogs/andy_leonard/archive/2010/01/03/social-sunday-linkedin-update.aspx">Social Sunday: LinkedIn Update</a> &#8211; Here&#8217;s Andy Leonard&#8217;s thoughts on his Social Networking experiences.</li>
<li><a title="Social Networking or Professional Networking?" href="http://www.bcs.org/server.php?show=conBlogPost.1516">Social Networking or Professional Networking?</a> &#8211; A rather negative and perhaps narrow minded view, on the use of Social Networking for Professional Networking.</li>
<li><a title="My Favorite WordPress Plugins Lately" href="http://www.brentozar.com/archive/2010/01/my-favorite-wordpress-plugins-lately/">My Favourite WordPress Plugins Lately</a> &#8211; Some great Plugin ideas here for your Blog, from <a title="Brent Ozar" href="http://www.brentozar.com/">Brent Ozar</a>.</li>
</ul>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mentioning then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or Follow me on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=6kpx88fia-M:VKdodX1ebu4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=6kpx88fia-M:VKdodX1ebu4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=6kpx88fia-M:VKdodX1ebu4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=6kpx88fia-M:VKdodX1ebu4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/6kpx88fia-M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/01/sql-server-links080110/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something for the weekend: SQL Server Links 01/01/10</title>
		<link>http://www.johnsansom.com/index.php/2010/01/sql-server-links010110/</link>
		<comments>http://www.johnsansom.com/index.php/2010/01/sql-server-links010110/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 17:37:45 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[SQL Server Links]]></category>
		<category><![CDATA[SQL Server News]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1731</guid>
		<description><![CDATA[I hope you&#8217;ve had a great week.
Here&#8217;s this weeks, smaller than usual due to the Holidays, roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!
SQL Server Links

sp_db_space_usage &#8211; A very nice stored procedure from Tibor Karaszi for reporting database size details.
Getting the ISO Week and Year &#8211; Handy little function here with some [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you&#8217;ve had a great week.</p>
<p>Here&#8217;s this weeks, smaller than usual due to the Holidays, roundup of SQL Server Blog Posts, News and Techie Stuff. Enjoy!</p>
<h2>SQL Server Links</h2>
<ul>
<li><a title="sp_db_space_usage" href="http://www.karaszi.com/SQLServer/util_sp_db_space_usage.asp">sp_db_space_usage</a> &#8211; A very nice stored procedure from Tibor Karaszi for reporting database size details.</li>
<li><a title="Getting the ISO Week and Year" href="http://facility9.com/2009/12/29/getting-the-iso-week-and-year?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+facility9+%28facility9%29&amp;utm_content=Google+Reader">Getting the ISO Week and Year</a> &#8211; Handy little function here with some reporting panache.</li>
<li><a title="A Small Collection of I/O Specific DMV Queries" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!2991.entry">A Small Collection of I/O Specific DMV Queries</a> &#8211; Another fantastic contribution from <a title="Glenn Berry" href="http://glennberrysqlperformance.spaces.live.com/default.aspx">Glenn Berry</a>. I&#8217;m a big fan of DMV&#8217;s and will certainly be putting these queries to good use.</li>
<li><a title="Fun With DBCC FREEPROCCACHE" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!2952.entry">Fun With DBCC FREEPROCCACHE</a> &#8211; Are DBA&#8217;s perhaps overly cautious about using this DBCC statement?</li>
<li><a title="How To Get a Count of SQL Connections BY IP Address" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!2940.entry">How To Get a Count of SQL Connections BY IP Address</a> &#8211; A nice little DMV query here, courtesy of <a title="Glenn Berry" href="http://cid-45041418eccaa960.profile.live.com/">Glenn Berry</a>.</li>
<li><a title="Got a slow holiday seaons? Why not spend it learning? " href="http://sqlblog.com/blogs/kevin_kline/archive/2009/12/31/got-a-slow-holiday-seaons-why-not-spend-it-learning.aspx">Got a slow holiday seaons? Why not spend it learning?</a> &#8211; Some ideas and tips on how to make the most of your free time this holiday season from <a title="Kevin Kline." href="http://sqlblog.com/blogs/kevin_kline/default.aspx">Kevin Kline</a>.</li>
</ul>
<p id="subjcns!45041418ECCAA960!2905"><a title="Should You Get a Netbook Computer?" href="http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!2905.entry"></a></p>
<p>That&#8217;s it for this week. If I&#8217;ve missed anything that you think is worth mentioning then be sure to let me know. Fire me an <a href="mailto:john@johnsansom.com">email</a> or a tweet on <a href="http://www.twitter.com/JohnSansom">Twitter</a>.  Happy New Year!</p>
<h3>Get your SQL SQL Server Questions Answered!</h3>
<p>Got a question about SQL Server or being a DBA? Send me your queries and I will do my best to answer them for you!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=vac2pl9wjdw:L67qKG8BkaI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=vac2pl9wjdw:L67qKG8BkaI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=vac2pl9wjdw:L67qKG8BkaI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=vac2pl9wjdw:L67qKG8BkaI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/vac2pl9wjdw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2010/01/sql-server-links010110/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Snippet: What SQL Server Agent Jobs were running at that time?</title>
		<link>http://www.johnsansom.com/index.php/2009/12/sql-agent-jobs-time-query/</link>
		<comments>http://www.johnsansom.com/index.php/2009/12/sql-agent-jobs-time-query/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 09:00:22 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[SQL Server Tips]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[SQL Server administration]]></category>
		<category><![CDATA[SQL Server Jobs]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1733</guid>
		<description><![CDATA[Here is a SQL Snippet that can be used to identify the SQL Server Agent Jobs that were running on a server at a particular point in time.
This can come in very handy if you need to troubleshoot a performance issue after the fact and want to find out if there were any jobs running [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a SQL Snippet that can be used to identify the SQL Server Agent Jobs that were running on a server at a particular point in time.</p>
<p>This can come in very handy if you need to troubleshoot a performance issue after the fact and want to find out if there were any jobs running on your server at a particular point in time retrospectively. The cumbersome alternative is to use a combination of the Job Activity Monitor,Job History and Schedules interfaces within SQL Server Management Studio (SSMS).</p>
<p>To use this snippet simply substitute in the DateTime that you are interested in.</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #808080; font-style: italic;">/*--------------------------------------------------------------------------------------------------------------<br />
Date: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 29/12/09<br />
Author: &nbsp; &nbsp; &nbsp; &nbsp; John Sansom<br />
Description:&nbsp; &nbsp; Script to identify SQL Server Agent jobs that were <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; running on the server at a particular time<br />
----------------------------------------------------------------------------------------------------------------*/</span><br />
<br />
DECLARE @jobsRunningAt DATETIME;<br />
<br />
<span style="color: #808080; font-style: italic;">--Modify the value here to be the DateTime you are Interested in.</span><br />
<span style="color: #993333; font-weight: bold;">SET</span> @jobsRunningAt <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'2009/12/28'</span>;<br />
<br />
<span style="color: #993333; font-weight: bold;">WITH</span> JobHistorySummary <span style="color: #993333; font-weight: bold;">AS</span><br />
<span style="color: #66cc66;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">SELECT</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; jobs<span style="color: #66cc66;">.</span>job_id<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; job_name <span style="color: #66cc66;">=</span> jobs<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>name<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; step_id<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; step_name<span style="color: #66cc66;">,</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; run_time<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; run_time_hours <span style="color: #66cc66;">=</span> run_time<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10000</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; run_time_minutes <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">,</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; run_time_seconds <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span>%100<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; run_time_elapsed_seconds <span style="color: #66cc66;">=</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span>run_time<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10000</span> <span style="color: #808080; font-style: italic;">/*run_time_hours*/</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">60</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">60</span> <span style="color: #808080; font-style: italic;">/* hours to minutes to seconds*/</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">100</span> <span style="color: #808080; font-style: italic;">/* run_time_minutes */</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">60</span> <span style="color: #808080; font-style: italic;">/* minutes to seconds */</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span>%100<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Start_Date <span style="color: #66cc66;">=</span> CONVERT<span style="color: #66cc66;">&#40;</span>DATETIME<span style="color: #66cc66;">,</span> RTRIM<span style="color: #66cc66;">&#40;</span>run_date<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Start_DateTime <span style="color: #66cc66;">=</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CONVERT<span style="color: #66cc66;">&#40;</span>DATETIME<span style="color: #66cc66;">,</span> RTRIM<span style="color: #66cc66;">&#40;</span>run_date<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_time<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10000</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">3600</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">60</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span>%100 <span style="color: #808080; font-style: italic;">/*run_time_elapsed_seconds*/</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">23.999999</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">3600</span> <span style="color: #808080; font-style: italic;">/* seconds in a day*/</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; End_DateTime <span style="color: #66cc66;">=</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CONVERT<span style="color: #66cc66;">&#40;</span>DATETIME<span style="color: #66cc66;">,</span> RTRIM<span style="color: #66cc66;">&#40;</span>run_date<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_time<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10000</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">3600</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">60</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span>run_time%10000<span style="color: #66cc66;">&#41;</span>%100<span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">86399.9964</span> <span style="color: #808080; font-style: italic;">/* Start Date Time */</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_duration<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10000</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">3600</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>run_duration%10000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">60</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">+</span> <span style="color: #66cc66;">&#40;</span>run_duration%10000<span style="color: #66cc66;">&#41;</span>%100 <span style="color: #808080; font-style: italic;">/*run_duration_elapsed_seconds*/</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">86399.9964</span> <span style="color: #808080; font-style: italic;">/* seconds in a day*/</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">FROM</span> msdb<span style="color: #66cc66;">.</span>dbo<span style="color: #66cc66;">.</span>sysjobs jobs <span style="color: #993333; font-weight: bold;">WITH</span><span style="color: #66cc66;">&#40;</span>NOLOCK<span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> msdb<span style="color: #66cc66;">.</span>dbo<span style="color: #66cc66;">.</span>sysjobhistory history <span style="color: #993333; font-weight: bold;">WITH</span><span style="color: #66cc66;">&#40;</span>NOLOCK<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">ON</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jobs<span style="color: #66cc66;">.</span>job_id <span style="color: #66cc66;">=</span> history<span style="color: #66cc66;">.</span>job_id<br />
&nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">WHERE</span> step_name <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'(Job outcome)'</span> <span style="color: #808080; font-style: italic;">--Only interested in final outcome of jobs</span><br />
<span style="color: #66cc66;">&#41;</span><br />
<span style="color: #993333; font-weight: bold;">SELECT</span> <br />
&nbsp; &nbsp; job_id<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; job_name<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; Start_DateTime<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; End_DateTime<br />
<span style="color: #993333; font-weight: bold;">FROM</span> JobHistorySummary<br />
<span style="color: #993333; font-weight: bold;">WHERE</span> Start_DateTime <span style="color: #66cc66;">&lt;=</span> @jobsRunningAt <span style="color: #993333; font-weight: bold;">AND</span> End_DateTime <span style="color: #66cc66;">&gt;=</span> @jobsRunningAt<br />
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> End_DateTime <span style="color: #993333; font-weight: bold;">DESC</span>;</div></div>
<h2>Similar Posts</h2>
<ul>
<li><a title="Identify All Active SQL Server Sessions" href="http://www.johnsansom.com/index.php/2009/06/dmv-query-to-identify-all-active-sql-server-sessions/">Identify All Active SQL Server Sessions</a></li>
<li> <a title="Most Costly SQL Server Queries" href="http://www.johnsansom.com/index.php/2009/05/how-to-identify-the-most-costly-sql-server-queries-using-dmvs/?preview=true&amp;preview_id=499&amp;preview_nonce=25ddb9893e">How to identify the most costly SQL Server queries using DMV’s </a></li>
<li><a title="Highest SQL Server Waits by Percentage" href="http://www.johnsansom.com/index.php/2009/12/sql-snippet-wait-types/">Highest SQL Server Waits by Percentage</a></li>
</ul>
<p>I hope you find this SQL Snippet useful in your administration of SQL Server. If you have any questions regarding this snippet, SQL Server Agent Jobs or anything whatsoever to do with SQL Server then feel free to ask.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=OzPHVnCte6U:EQP6036DBIc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=OzPHVnCte6U:EQP6036DBIc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=OzPHVnCte6U:EQP6036DBIc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=OzPHVnCte6U:EQP6036DBIc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/OzPHVnCte6U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2009/12/sql-agent-jobs-time-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Snippet: SQL Server Wait Types</title>
		<link>http://www.johnsansom.com/index.php/2009/12/sql-snippet-wait-types/</link>
		<comments>http://www.johnsansom.com/index.php/2009/12/sql-snippet-wait-types/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 15:52:21 +0000</pubDate>
		<dc:creator>John Sansom</dc:creator>
				<category><![CDATA[Dynamic Management Views (DMV)]]></category>
		<category><![CDATA[SQL Server Tips]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[DMV]]></category>
		<category><![CDATA[SQLServerWaitTypes]]></category>

		<guid isPermaLink="false">http://www.johnsansom.com/?p=1704</guid>
		<description><![CDATA[
Here is a handy little SQL Snippet that will return information about those all important SQL Server Wait Types for your server. It uses the SQL Server Dynamic Management View (DMV) sys.dm_os_wait_stats in order to extrapolate the desired information. A column has also been added to provide details of the percentage of total wait time [...]]]></description>
			<content:encoded><![CDATA[<p>
Here is a handy little SQL Snippet that will return information about those all important SQL Server Wait Types for your server. It uses the SQL Server Dynamic Management View (DMV) <a title="sys.dm_os_wait_stats" href="http://msdn.microsoft.com/en-us/library/ms179984%28SQL.90%29.aspx">sys.dm_os_wait_stats</a> in order to extrapolate the desired information. A column has also been added to provide details of the percentage of total wait time that a particular Wait Type is responsible for.
</p>
<p>
<strong>T-SQL Query to rank SQL Server Wait Types by highest percentage of total wait time</strong>
</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; wait_type<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; waiting_tasks_count<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; max_wait_time_ms<span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; resource_wait_time_ms &nbsp;<span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>wait_time_ms <span style="color: #66cc66;">-</span> signal_wait_time_ms<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; PercentOfAllResourceWaitTime <span style="color: #66cc66;">=</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span>cast<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>wait_time_ms <span style="color: #66cc66;">-</span> signal_wait_time_ms<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> decimal<span style="color: #66cc66;">&#40;</span>19<span style="color: #66cc66;">,</span>2<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">/</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> sum<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>wait_time_ms <span style="color: #66cc66;">-</span> signal_wait_time_ms<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>dm_os_wait_stats<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">*</span> 100<br />
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>dm_os_wait_stats<br />
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> PercentOfAllResourceWaitTime <span style="color: #993333; font-weight: bold;">DESC</span></div></div>
<p>
I hope you find this SQL Snippet useful in your administration of SQL Server. If you have any queries regarding this snippet, SQL Server Wait Types or anything to do with SQL Server whatsoever then be sure to let me know!</p>
<h2>Further Reading</h2>
<ul>
<li>SQL Server Best Practice Article: <a title="SQL Server Best Practice Article: Performance Tuning Wait Queus" href="http://msdn.microsoft.com/en-us/library/cc966413.aspx">Performance Tuning Wait Queues</a></li>
<li>More DMV Queries: <a title="Identify All Active SQL Server Sessions" href="http://www.johnsansom.com/index.php/2009/06/dmv-query-to-identify-all-active-sql-server-sessions/">Identify All Active SQL Server Sessions</a></li>
<li>
How to identify the most <a title="How to identify the most costly SQL Server queries using DMVs" href="http://www.johnsansom.com/index.php/2009/05/how-to-identify-the-most-costly-sql-server-queries-using-dmvs/?preview=true&#038;preview_id=499&#038;preview_nonce=25ddb9893e">costly SQL Server queries</a> using DMV’s
</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=C0F5IZapTA8:AGkInW3qByo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=C0F5IZapTA8:AGkInW3qByo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?a=C0F5IZapTA8:AGkInW3qByo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/JohnSansom-SqlServerDba?i=C0F5IZapTA8:AGkInW3qByo:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JohnSansom-SqlServerDba/~4/C0F5IZapTA8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.johnsansom.com/index.php/2009/12/sql-snippet-wait-types/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
