<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Paul Duffett - Me, myself and MS SQL Server &#187; Uncategorized</title>
	<atom:link href="http://paulduffett.wordpress.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulduffett.wordpress.com</link>
	<description>The ramblings of a mad man</description>
	<lastBuildDate>Tue, 28 Oct 2008 16:55:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='paulduffett.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b50c7c207d66fe830df0d7fa62ec6033?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Paul Duffett - Me, myself and MS SQL Server &#187; Uncategorized</title>
		<link>http://paulduffett.wordpress.com</link>
	</image>
			<item>
		<title>Managing and analysing multiple trace files</title>
		<link>http://paulduffett.wordpress.com/2008/10/09/managing-and-analysing-multiple-trace-files/</link>
		<comments>http://paulduffett.wordpress.com/2008/10/09/managing-and-analysing-multiple-trace-files/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 10:11:09 +0000</pubDate>
		<dc:creator>paulduffett</dc:creator>
				<category><![CDATA[Technical post]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulduffett.wordpress.com/?p=64</guid>
		<description><![CDATA[Hi.
Have you ever set off a profiler trace and then realised that you&#8217;ve amassed tons and tons of data and now you need to start searching for that needle in a haystack?
If the answer to this question is yes then you might be interested in a pretty cool SQL function that lets you read the trace [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=64&subd=paulduffett&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi.</p>
<p>Have you ever set off a profiler trace and then realised that you&#8217;ve amassed tons and tons of data and now you need to start searching for that needle in a haystack?</p>
<p>If the answer to this question is yes then you might be interested in a pretty cool SQL function that lets you read the trace files and, even better, import them into a table.</p>
<p>Consider the following SQL statement:</p>
<div><span style="font-size:x-small;color:#0000ff;">SELECT * INTO [db_name]..[table_name]</span></div>
<p><span style="font-size:x-small;color:#0000ff;">FROM ::fn_trace_gettable(&#8216;D:\DBAScripts\output\sql_trace_file.trc&#8217;, default);</span></p>
<p>This will import your SQL trace files into a table, after which you can add indexes to optimise the numerous queries you will no doubt have to run against the data.</p>
<p><span style="font-size:x-small;color:#0000ff;"><span style="color:#000000;">Let me just break down the syntax of that statement to try and give you a better understanding of how you can best utilise this feature.</span></span></p>
<p><span style="font-size:x-small;color:#0000ff;"><span style="color:#000000;">The SELECT * INTO is straight-forward stuff so I won&#8217;t bother with that bit, let&#8217;s just concentrate on the function syntax.</span></span></p>
<p><span style="font-size:x-small;color:#0000ff;"><span style="color:#000000;">::fn_trace_gettable is the actual name of the function we are using. The two parameters within the parenthesis basically specify the full path and file name and the number of trace files you want to import. By specifying default you are effectively saying that you want all of the trace files that have been created under that name. Multiple trace files of the same name will be suffixed with an underscore followed by a number, for example, a trace file called sql_trace.trc may have rolled over a number of times to create sql_trace_1.trc, sql_trace_2.trc etc. If you only want to import the first 5 trace files then just specify the number 5 instead of &#8216;default&#8217;. Simple.</span></span></p>
<p><span style="font-size:x-small;">So as you can see, you have a pretty handy little function that can import all of that trace data into a SQL table which you can then slice and dice until your heart is content.</span></p>
<p><span style="font-size:x-small;">Enjoy</span></p>
<p><span style="font-size:x-small;">PD</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulduffett.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulduffett.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulduffett.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulduffett.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulduffett.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulduffett.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulduffett.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulduffett.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulduffett.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulduffett.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=64&subd=paulduffett&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paulduffett.wordpress.com/2008/10/09/managing-and-analysing-multiple-trace-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b3a8bd84840622e30fcaec39e4be3f8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">paulduffett</media:title>
		</media:content>
	</item>
		<item>
		<title>My Windows &#8220;Share&#8221; cluster resource keeps failing</title>
		<link>http://paulduffett.wordpress.com/2008/10/08/my-windows-share-cluster-resource-keeps-failing/</link>
		<comments>http://paulduffett.wordpress.com/2008/10/08/my-windows-share-cluster-resource-keeps-failing/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 17:12:38 +0000</pubDate>
		<dc:creator>paulduffett</dc:creator>
				<category><![CDATA[Technical post]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulduffett.wordpress.com/?p=66</guid>
		<description><![CDATA[Hi there.
Have you ever had that annoying problem where you&#8217;ve created a cluster resource of type &#8220;share&#8221; (typically a shared folder on one of your SAN drives) that just keeps failing? If I had to pick a scenario I would chose log shipping from one cluster (Production) to another (Disaster recovery). So, you have your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=66&subd=paulduffett&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:x-small;"><span style="color:black;font-family:Arial;"><span style="font-size:small;">Hi there.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Have you ever had that annoying problem where you&#8217;ve created a cluster resource of type &#8220;share&#8221; (typically a shared folder on one of your SAN drives) that just keeps failing? If I had to pick a scenario I would chose log shipping from one cluster (Production) to another (Disaster recovery). So, you have your shared folder that contains your log backups but the resource keeps failing. Even worse, you&#8217;ve forgotten to un-check that box that affects the cluster group so that when the share fails it brings your entire group down? Yup, been there, done that. And if it&#8217;s a share that SQL needs access to then the chances are that you&#8217;ve put this share in your SQL cluster group and you&#8217;ve got a yo-yo&#8217;ing SQL Server service all because of a failing share. This would probably seem like an appropriate time to update your cv <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Well this is your &#8220;get out of jail free&#8221; card.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">First off, clear that check-box that reads &#8220;Affect the cluster group&#8221;. If your cluster share fails it&#8217;s really not that big a deal. Certainly not big enough to fail-over your cluster.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Secondly, I have a fix for you. You basically need to add in a key to your registry (ON BOTH NODES!! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) and here it is.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">The registry path is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters and you basically need to create a key called IRPStackSize and set the value to HEX 12.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">That&#8217;s it. Simple.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Reboot the node (at a convenient time) and hey presto, no more failing service.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Remember to repeat on both nodes.</span></span></p>
<p><span style="color:black;font-family:Arial;"><span style="font-size:small;">Enjoy</span></span></p>
<p><span style="font-family:Arial;"><span style="font-size:small;">PD</span></span></p>
<p><font size="2"> </p>
<p></font></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulduffett.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulduffett.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulduffett.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulduffett.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulduffett.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulduffett.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulduffett.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulduffett.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulduffett.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulduffett.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=66&subd=paulduffett&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paulduffett.wordpress.com/2008/10/08/my-windows-share-cluster-resource-keeps-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b3a8bd84840622e30fcaec39e4be3f8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">paulduffett</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server security bulletins</title>
		<link>http://paulduffett.wordpress.com/2008/09/29/sql-server-security-bulletins/</link>
		<comments>http://paulduffett.wordpress.com/2008/09/29/sql-server-security-bulletins/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 13:27:22 +0000</pubDate>
		<dc:creator>paulduffett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulduffett.wordpress.com/?p=43</guid>
		<description><![CDATA[You&#8217;ve no doubt seen the security bulletins issued by Microsoft over the last few months and if, like me, you&#8217;ve had to apply them to your SQL Server estate you may well have had some cause for confusion.
I&#8217;ve been testing, re-testing and testing just a little bit more, all of the KB&#8217;s that I have to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=43&subd=paulduffett&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You&#8217;ve no doubt seen the security bulletins issued by Microsoft over the last few months and if, like me, you&#8217;ve had to apply them to your SQL Server estate you may well have had some cause for confusion.</p>
<p>I&#8217;ve been testing, re-testing and testing just a little bit more, all of the KB&#8217;s that I have to deploy and I&#8217;ve started rolling them out onto our production boxes. But how do you know which KB you need to apply to your SQL instance? Well it is actually explained on the Microsoft site but I&#8217;ve got a very quick &#8220;at a glance&#8221; version, which is the reason for this post.</p>
<p>This is my crib-sheet for security bulletin MS08-040</p>
<table style="width:643pt;border-collapse:collapse;" border="0" cellspacing="0" cellpadding="0" width="857">
<col style="width:134pt;" span="1" width="178"></col>
<col style="width:154pt;" span="1" width="205"></col>
<col style="width:112pt;" span="1" width="149"></col>
<col style="width:95pt;" span="1" width="127"></col>
<col style="width:74pt;" span="1" width="99"></col>
<col style="width:74pt;" span="1" width="99"></col>
<tbody>
<tr style="height:36.75pt;">
<td class="xl30" style="width:134pt;height:36.75pt;background-color:silver;border:windowtext .5pt solid;" width="178" height="49"><strong><span style="font-size:x-small;font-family:Arial;">SQL Server Major Release</span></strong></td>
<td class="xl28" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:#d4d0c8;width:154pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="205"><span style="font-size:x-small;">SQL Server 7.0 and MSDE 1.0</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:112pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="149"><span style="font-size:x-small;">SQL Server 2000 GDR and MSDE 2000</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:95pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="127"><span style="font-size:x-small;">SQL Server 2000 QFE and MSDE 2000</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">SQL Server 2005 GDR</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">SQL Server 2005 QFE</span></td>
</tr>
<tr style="height:25.5pt;">
<td class="xl30" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext .5pt solid;border-bottom:windowtext .5pt solid;height:25.5pt;background-color:silver;" height="34"><strong><span style="font-size:x-small;font-family:Arial;">SQL Server Build Range</span></strong></td>
<td class="xl28" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:#d4d0c8;width:154pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="205"><span style="font-size:x-small;">7.00.1063-7.00.1151</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:112pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="149"><span style="font-size:x-small;">8.00.2039-8.00.2049</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:95pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="127"><span style="font-size:x-small;">8.00.2148-8.00.2272</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">9.00.3042-9.00.3067</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">9.00.3150-9.00.3230</span></td>
</tr>
<tr style="height:15pt;">
<td class="xl30" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext .5pt solid;border-bottom:windowtext .5pt solid;height:15pt;background-color:silver;" height="20"><strong><span style="font-size:x-small;font-family:Arial;">Patch To Apply</span></strong></td>
<td class="xl28" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:#d4d0c8;width:154pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="205"><span style="font-size:x-small;">KB948113</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:112pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="149"><span style="font-size:x-small;">KB948110</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:95pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="127"><span style="font-size:x-small;">KB948111</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">KB948109</span></td>
<td class="xl27" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:transparent;" width="99"><span style="font-size:x-small;">KB948108</span></td>
</tr>
<tr style="height:12.75pt;">
<td class="xl31" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext .5pt solid;border-bottom:windowtext .5pt solid;height:12.75pt;background-color:transparent;" height="17"><span style="font-size:x-small;font-family:Arial;"> </span></td>
<td style="background-color:transparent;border:#d4d0c8;"> </td>
<td class="xl32" style="background-color:transparent;border:#d4d0c8;"> </td>
<td class="xl32" style="background-color:transparent;border:#d4d0c8;"> </td>
<td style="background-color:transparent;border:#d4d0c8;"> </td>
<td style="background-color:transparent;border:#d4d0c8;"> </td>
</tr>
<tr style="height:12.75pt;">
<td class="xl30" style="border-right:windowtext .5pt solid;border-top:windowtext;border-left:windowtext .5pt solid;border-bottom:windowtext .5pt solid;height:12.75pt;background-color:silver;" height="17"><strong><span style="font-size:x-small;font-family:Arial;">New Build Number</span></strong></td>
<td class="xl29" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:#d4d0c8;width:154pt;border-bottom:windowtext .5pt solid;background-color:white;" width="205"><span style="font-size:x-small;">7.00.1152</span></td>
<td class="xl33" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:112pt;border-bottom:windowtext .5pt solid;background-color:white;" width="149"><span style="font-size:x-small;">8.00.2050</span></td>
<td class="xl33" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:95pt;border-bottom:windowtext .5pt solid;background-color:white;" width="127"><span style="font-size:x-small;">8.00.2273</span></td>
<td class="xl26" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:white;" width="99"><span style="font-size:x-small;">9.00.3068</span></td>
<td class="xl26" style="border-right:windowtext .5pt solid;border-top:windowtext .5pt solid;border-left:windowtext;width:74pt;border-bottom:windowtext .5pt solid;background-color:white;" width="99"><span style="font-size:x-small;">9.00.3233</span></td>
</tr>
</tbody>
</table>
<p>MS08-052 Security bulletin crib sheet to follow soon&#8230;.</p>
<p>Enjoy</p>
<p>PD</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulduffett.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulduffett.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulduffett.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulduffett.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulduffett.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulduffett.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulduffett.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulduffett.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulduffett.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulduffett.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=43&subd=paulduffett&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paulduffett.wordpress.com/2008/09/29/sql-server-security-bulletins/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b3a8bd84840622e30fcaec39e4be3f8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">paulduffett</media:title>
		</media:content>
	</item>
		<item>
		<title>Identifying job owners</title>
		<link>http://paulduffett.wordpress.com/2008/09/22/identifying-job-owners/</link>
		<comments>http://paulduffett.wordpress.com/2008/09/22/identifying-job-owners/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 16:13:10 +0000</pubDate>
		<dc:creator>paulduffett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulduffett.wordpress.com/?p=47</guid>
		<description><![CDATA[This is a handy little function that will decrypt the owner_id from the msdb sysjobs table. Just wanted to post it very quickly because I&#8217;ve just had to search for it yet again.
SELECT name, suser_sname(owner_sid) as owner
FROM
sysjobs
 
Enjoy
PD
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=47&subd=paulduffett&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is a handy little function that will decrypt the owner_id from the msdb sysjobs table. Just wanted to post it very quickly because I&#8217;ve just had to search for it yet again.</p>
<p>SELECT name, suser_sname(owner_sid) as owner<br />
FROM<br />
sysjobs</p>
<p> </p>
<p>Enjoy</p>
<p>PD</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulduffett.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulduffett.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulduffett.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulduffett.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulduffett.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulduffett.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulduffett.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulduffett.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulduffett.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulduffett.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paulduffett.wordpress.com&blog=4894969&post=47&subd=paulduffett&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paulduffett.wordpress.com/2008/09/22/identifying-job-owners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b3a8bd84840622e30fcaec39e4be3f8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">paulduffett</media:title>
		</media:content>
	</item>
	</channel>
</rss>