<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Luke Hayler - SQL Server developer</title>
	<atom:link href="http://www.lukehayler.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukehayler.com</link>
	<description>A blog about Integration services, Reporting services, and the things that interest me</description>
	<lastBuildDate>Tue, 08 Jun 2010 20:50:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What’s so great about where YOU work?</title>
		<link>http://www.lukehayler.com/2010/06/whats-so-great-about-where-you-work/</link>
		<comments>http://www.lukehayler.com/2010/06/whats-so-great-about-where-you-work/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 09:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[greatplacetowork]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/06/whats-so-great-about-where-you-work/</guid>
		<description><![CDATA[Got a great place to work? A beautiful setting in the countryside, an amazing office, a tricked out cubicle, awesome colleagues? What makes where you work so special?
I work projects, so have moved around a bit over the last few years when it comes to offices. I also make use of a small nook (think [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 330px"><a href="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Scenic.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border: 0px initial initial;" title="GreatPlaceToWork_Scenic" src="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Scenic_thumb.jpg" border="0" alt="GreatPlaceToWork_Scenic" width="320" height="399" align="right" /></a><p class="wp-caption-text">office heaven</p></div>
<p>Got a great place to work? A beautiful setting in the countryside, an amazing office, a tricked out cubicle, awesome colleagues? What makes where you work so special?</p>
<p>I work projects, so have moved around a bit over the last few years when it comes to offices. I also make use of a small nook (think <a href="http://harrypotter.wikia.com/wiki/Cupboard_under_the_stairs" target="_blank">The Cupboard Under the Stairs, No 4 Privet Drive, Little Whinging</a>) when <a href="http://www.lukehayler.com/2010/05/telecommuting-sometimes/" target="_blank">I’m working from home</a>. Some of the places I have worked have been somewhat dark and dreary, others have been all shiny a new, but the best experiences are always those with the best colleagues. I have found that the environment can lack inspiration and the work is a grind, but throw in a few awesome people to work with and it changes everything.</p>
<h4>People</h4>
<p>I have been lucky in that in pretty much every project there has been at least one person that makes the work fun/exciting/challenging (in a good way)/educational. Here are a few of those people:</p>
<h6>Paul</h6>
<p>Why? He makes me laugh. And he manages to do it with very little effort too, and it’s not that I’m easy to amuse either (another story altogether). I met Paul some years back when I worked for a small company during my university vacations and by chance we are now working closely once again. He was hilarious then and hasn’t changed one iota. His mannerisms, his outlook on life, his witty banter and way with words all make the current project a fun place to be.</p>
<div class="wp-caption alignright" style="width: 280px"><a href="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_EnergyDrink.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border: 0px initial initial;" title="GreatPlaceToWork_EnergyDrink" src="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_EnergyDrink_thumb.jpg" border="0" alt="GreatPlaceToWork_EnergyDrink" width="270" height="264" align="right" /></a><p class="wp-caption-text">Kappow! Who needs Red Bull when you&#39;ve got &#39;Whoop Ass&#39;</p></div>
<h6>Johnny &amp; Jonathan</h6>
<p>Why? Energy. Pure and simple. These two guys (both managers of mine) just had so much energy it was infectious. And their energy was natural too, not the kind that you can buy for a few bucks and tends to rot your teeth. Always positive, always encouraging, these guys got the most out of me and I thoroughly enjoyed working with them &#8211; <em>and would do it again in a heartbeat. </em></p>
<h6>Nxumsa</h6>
<p>Why? She was learning about reporting services and gave me the opportunity to teach. One of greatest gifts is the ability to share our knowledge and to uplift the community where we can. Although, <a href="http://blogs.msdn.com/b/buckwoody/archive/2010/05/27/the-most-effective-learning-methods-the-results.aspx" target="_blank">according to Buck Woody</a> (<a href="http://blogs.msdn.com/b/buckwoody/" target="_blank">Blog</a> | <a href="http://www.twitter.com/buckwoody" target="_blank">@buckwoody</a>), teaching/mentoring is also the best form of education (or ‘retention’ if you’re being pedantic). So, being able to impart some knowledge (ok, so some may have been a <em>little</em> dubious…) to a co-worker was a great experience for me too, and given the opportunity to do it again, I wouldn’t hesitate.</p>
<h6>Godfrey/Johan/Pierre</h6>
<p>Why? I learnt from them. Whilst most of what I learnt was technical &#8211; introductions to DTS, SSIS, scripting amongst other things, a lot of what I learnt was about tenacity, camaraderie, diplomacy &amp; negotiation. If you thought that being a great developer/DBA involved just the technical stuff then you’d be wrong. There is a whole list of soft skills to pick up on and this is best done through working with the right people.</p>
<h6>Anthony</h6>
<p>Why? For all the above reasons. Funny? He’s hilarious. Intelligent? You betcha &#8211; but he didn’t know everything, so it was a great moment when I got to teach. Passion &amp; Energy? Like no other. And I don’t think there was a time he didn’t have a smile on his face (that I know of anyway). He is a great mate of mine and one that I miss having around since having moved to the UK.</p>
<h5>Environment</h5>
<p>Working in a beautiful/funky environment is always a pleasure.  In the places that I have worked there are a few that stand out as Great Places To Work:</p>
<ul>
<li>A refitted barn on a river in the UK</li>
<li>At home in the garden</li>
<li>A converted warehouse loft space &#8211; probably one of my favourite places as there was so much space and I had a window out onto a garden that was home to many birds.</li>
</ul>
<p>Here are a few pictures of those places:</p>
<div class="wp-caption aligncenter" style="width: 380px"><a href="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Lodsworth.jpg"><img style="display: block;" title="GreatPlaceToWork_Lodsworth" src="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Lodsworth_thumb.jpg" border="0" alt="GreatPlaceToWork_Lodsworth" width="370" height="240" /></a><p class="wp-caption-text">at work in the countryside</p></div>
<div class="wp-caption aligncenter" style="width: 380px"><a href="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Home.jpg"><img style="display: block;" title="GreatPlaceToWork_Home" src="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Home_thumb.jpg" border="0" alt="GreatPlaceToWork_Home" width="370" height="290" /></a><p class="wp-caption-text">my friday office</p></div>
<div class="wp-caption aligncenter" style="width: 380px"><a href="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Loft.jpg"><img style="display: block;" title="GreatPlaceToWork_Loft" src="http://www.lukehayler.com/wp-content/uploads/Illshowyoumineifyoushowmeyours_137B6/GreatPlaceToWork_Loft_thumb.jpg" border="0" alt="GreatPlaceToWork_Loft" width="370" height="506" /></a><p class="wp-caption-text">a lofty desk perspective</p></div>
<h4>Other factors</h4>
<p>There are many other things that could make where you work a better place. For me this includes:</p>
<ul>
<li>Not just ‘good’, but GREAT Coffee!</li>
<li>Awesome colleagues</li>
<li>A personal space (making your desk space your own)</li>
<li>A great chair</li>
<li>A clear desk</li>
<li>Decent hardware (PC/Laptop)</li>
<li>Being part of a team that shares a common goal</li>
<li>A great canteen or coffee shop</li>
<li>Access to online resources (in a corporate environment this can be difficult as web access is severely restricted)</li>
<li>Challenging projects &#8211; forcing the need to keep learning new things</li>
<li>…many more</li>
</ul>
<p>So now you know a little more about where I have worked and what makes keeps my work satisfaction at a good level, I would like to know more about where you work and what makes it a great place. So I’m tagging the following to find out:</p>
<ul>
<li>Rob Farley (<a href="http://sqlblog.com/blogs/rob_farley/" target="_blank">Blog</a> | <a href="http://twitter.com/rob_farley" target="_blank">@rob_farley</a>) &#8211; because [apparently] Adelaide is awesome and he doesn’t have a dedicated office space (his work is onsite mostly).</li>
<li>Steve Jones (<a href="http://blog.dkranch.net/" target="_blank">Blog</a> <a href="http://www.sqlservercentral.com/blogs/steve_jones/default.aspx" target="_blank">Blog</a> | <a href="http://twitter.com/way0utwest" target="_blank">@way0utwest</a>) &#8211; because he lives in and works from a ranch in the middle of the US</li>
<li>Jorge Segarra (<a href="http://sqlchicken.com/" target="_blank">Blog</a> | <a href="http://twitter.com/sqlchicken" target="_blank">@SQLChicken</a>) &#8211; because he has a rubber chicken pinned to his office wall. Oh, and he lives &amp; works in Tampa, Florida.</li>
<li>Jenifer Stirrup (<a href="http://www.jenstirrup.com/" target="_blank">Blog</a> | <a href="http://twitter.com/jenstirrup" target="_blank">@jenstirrup</a>) &#8211; because she is currently working for a <a href="http://www.cam.ac.uk/univ/800/" target="_blank">University that is over 800 years old</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/06/whats-so-great-about-where-you-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reporting Services (2005) &#8220;http://localhost/reports&#8221; authentication error</title>
		<link>http://www.lukehayler.com/2010/06/reporting-services-2005-httplocalhostreports-authentication-error/</link>
		<comments>http://www.lukehayler.com/2010/06/reporting-services-2005-httplocalhostreports-authentication-error/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 11:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[authenticationerrors]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/06/reporting-services-2005-httplocalhostreports-authentication-error/</guid>
		<description><![CDATA[I have encountered this issue on two separate occasions now. The first was during a report deployment to a new Report Server Virtual Directory and the second was trying to access the report manager via the URL: http://localhost/Reports. Each time I was presented with the same &#34;Authentication Required&#34; &#34;Enter username and password for &#34;&#34; at [...]]]></description>
			<content:encoded><![CDATA[<p>I have encountered this issue on two separate occasions now. The first was during a report deployment to a new Report Server Virtual Directory and the second was trying to access the report manager via the URL: http://localhost/Reports. Each time I was presented with the same &quot;Authentication Required&quot; &quot;Enter username and password for &quot;&quot; at http://localhost&quot; screen:</p>
<p>On both occasions I searched high and low for a solution to the problem using a few trusty searches , but could not come up with an answer that worked for me. To cut a long story short the simple solution was to ensure that the URL was a) correct and b) fully qualified.</p>
<p>In the first instance (report deployment) the name of the Report Server Virtual Directory was a Named instance and so trying to deploy to http://localhost/reports was never going to work. Ensuring the right virtual directory was in the URL made all the difference. Go figure.</p>
<p>In the second instance (accessing the Report Manager) I had installed a default configuration of Reporting Services and therefore the setup had created the Virtual Directories required (Reports &amp; ReportServer). However, having typed in the URL http://localhost/Reports I got the Authentication Required screen (as above). I found numerous solutions (supposedly) to this problem, all of which are listed at the end of the post, but I eventually just tried the full path of the home page: http://localhost/Reports/Pages/Folder.aspx and it worked like a dream. Again. Go figure.</p>
<p>Why the full path had to provided I don&#8217;t know. On previous occasions I have not have to do so and have been able to connect to the Report Manager using the abbreviated URL (http://localhost/Reports). If anyone does have a clue as to why this is I would gladly welcome the comments.</p>
<p>Things to note:</p>
<p>I am running Windows XP Pro SP2 with SQL Server 2005 Developer Edition.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Other possible solutions, or at least other areas to check when experiencing this issue:</p>
<p>1. If you are using Firefox and still have problems with Authentication (whilst there are no issues with IE) try <a href="http://blog.satyr.nl/post/fixing_the_localhost_authentication_problem_in_firefox">this</a><a href="http://blog.satyr.nl/post/fixing_the_localhost_authentication_problem_in_firefox"> very quick and easy fix</a>.</p>
<p>2. Checking the security settings in Control Panel&gt;Administrator Tools&gt; IIS&gt; Default website and right clicking Reports, choose Properties&gt;Directory Security&gt;Anonymous Access &amp; Authentication control. A number of people suggest using the Anonymous setting only, although I have found that although you can then navigate to http://localhost/reports, no folder structure is available to you. It is therefore suggested that you use the Integrated Windows Authentication only.</p>
<p>3. Ensure that all the settings in Reporting Services Configuration are green. If not, attend to each of the areas in red.</p>
<p>4. Any other ideas? Post a comment that I can include here.</p>
<p>Hopefully, you haven&#8217;t had as painful a journey as I have in getting this exceedingly annoying issue (but scarily easy fix) sorted out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/06/reporting-services-2005-httplocalhostreports-authentication-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Telecommuting. Sometimes.</title>
		<link>http://www.lukehayler.com/2010/05/telecommuting-sometimes/</link>
		<comments>http://www.lukehayler.com/2010/05/telecommuting-sometimes/#comments</comments>
		<pubDate>Tue, 25 May 2010 10:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[telecommuting]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/05/telecommuting-sometimes/</guid>
		<description><![CDATA[&#160;
There have been a few blog posts lately about telecommuting, with some advocating it, others not and some even going to lengths to tell why you’re not. 
I’m a big fan of telecommuting. Sometimes. 

Brent Ozar (Blog &#124; @Brento) wrote a great post on Why You’re Not Telecommuting (as well as several others which are [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;
<p>There have been a few blog posts lately about telecommuting, with some advocating it, others not and some even going to lengths to tell why you’re not. </p>
<p>I’m a big fan of telecommuting. Sometimes. </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px" id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:812c62a1-ac2c-4a58-a568-e03f449b7de8" class="wlWriterEditableSmartContent"><a href="http://www.lukehayler.com/wp-content/uploads/Telecommuting.Sometimes_13ED1/CatWorkingFromHome8x6.jpg" title="I'm in ur laptopz, hackin ur tweetz" rel="thumbnail"><img border="0" src="http://www.lukehayler.com/wp-content/uploads/Telecommuting.Sometimes_13ED1/CatWorkingFromHome.png" width="360" height="283" /></a></div>
<p>Brent Ozar (<a href="http://www.brentozar.com" target="_blank">Blog</a> | <a href="http://twitter.com/BrentO" target="_blank">@Brento</a>) wrote a great post on <a href="http://www.brentozar.com/archive/2010/05/why-youre-not-telecommuting/" target="_blank">Why You’re Not Telecommuting</a> (as well as several others which are all listed at the bottom of that post). In it, Brent details a number of reasons why you haven’t landed that telecommuting job yet. But he also goes into three things that you <em>can</em> do to get one. Brian Kelly (<a href="http://www.sqlservercentral.com/blogs/brian_kelley/">Blog</a> | <a href="http://www.Twitter.com/kbriankelly">@kbriankelly</a>) tells us <a href="http://www.sqlservercentral.com/blogs/brian_kelley/archive/2010/05/07/why-i-don-t-look-for-a-telecommuting-job.aspx" target="_blank">why he doesn’t look for a telecommuting role</a>. It’s a great read and all his points are all relevant, some maybe more specific to his particular situation, but they are all good points. </p>
<p>Is it too much to ask to have a role that has both a telecommuting and an on-site element? I don’t think so. It’s what I strive for. While I don’t know what the rest of the population has for a commute, mine is somewhere between 50 minutes up to 2.5 hours. One way. That really burns you out. So I try to avoid it if I can. Telecommuting does away with the ‘commute’ altogether. Being able to wake up, shower, breakfast &#038; coffee, more coffee and ‘commute’ (aka walk) to a dedicated office space, all in under 30 minutes is frikkin’ awesome. If your on-site option does happen to be a 5 minute walk from your residence then you have what I want. </p>
<p>Since I can never seem to land a role that is just five minutes from my humble abode means that I have to come up with other options. So, after I have been in a role for a while (a couple of months) and an opportunity presents itself, I request a day to work from home. On my latest project we were asked to work over a bank holiday and were given the option of working remotely. I call this an opportunity because that exactly what it is. It is a chance to <strong>prove what you can accomplish</strong> <strong>when you are not on-site</strong>. If you can prove to your superiors that you can deliver results when you are at home, then you stand a much better chance of the ‘opportunity’ presenting itself again. And again. And if you work hard and deliver the results, then this can lead to a standing arrangement to work remotely. Of course this all depends on what management style is enforced where you work.</p>
<p>There’s a key sentence <a href="http://en.wikipedia.org/wiki/Telecommuting" target="_blank">on Wikipedia about telecommuting</a>:</p>
<blockquote><p>“A successful telecommuting program requires a management style which is based on results and not on close scrutiny of individual employees”</p>
</blockquote>
<p>If your boss is not results oriented, you may need to understand <a href="http://webworkerdaily.com/2008/04/10/why-your-boss-doesnt-want-you-to-telework/" target="_blank">Why Your Boss Doesn’t Want you to Telework</a> first, then go find out how to <a href="http://www.productivity501.com/convince-your-boss-to-let-you-work-from-home/122/" target="_blank">Convince Your Boss to Let You Telework</a>. </p>
<p>So what’s my ideal situation? Well, having a <a href="http://twitpic.com/1qbze1" target="_blank">home/office like Rob Farley did</a> (admittedly only for a client visit) would be nice, but barring that my ideal situation would be one where I can work on-site for 3-4 days a week and at home 1-2 days. This, I feel, gives the best of both worlds. You get the interaction of colleagues and ‘office life’ and you also get the solitude and <strong>productivity of working from home</strong>. Yes, productivity. I seem to be much more productive when I work from home. </p>
<p>Everyone loves a list. So here’s three about working from home:</p>
<h4>Advantages</h4>
<ul>
<li><strong>Productivity </strong>- I get more done at home than I do at work, primarily because (for me) there are less distractions at home than there are at work. On-site there always seems to be someone at my desk asking me a question, which switches my focus for a period of time. At home I have a dedicated office hideaway that keeps me isolated from distractions (my son). </li>
<li><strong>No commute</strong> &#8211; how long does it talk you to walk from your kitchen to your home office? No time at all. This also means that I get to have breakfast, lunch &#038; dinner with my family without having an impact on my work. Since my boy is an early riser, I also get to spend a couple of hours with him before my day even starts. </li>
<li><strong>More flexible &#8216;Flexi-time’ </strong>- working from home may allow you to be even more flexible with you working hours, although this needs to be negotiated with your boss before hand. You may for example need a couple of hours to look after your kids which you can make up for later in the evening once they have gone to bed. </li>
<li><strong>Online resources at your disposal</strong> &#8211; Having access to the all the online resources (blogs/twitter/forums/etc) you need can be a great help, especially when you need help ASAP. Some companies are so locked down that access to the web is reserved for a handful of cherry picked sites and nothing else. </li>
<li><strong>More time with your family </strong>- outside of working hours, of course. </li>
<li><strong>More sleep </strong>- intrinsically linked to ‘No Commute’. Go figure. </li>
</ul>
<h4>Disadvantages</h4>
<ul>
<li><strong>Limited interaction with teammates </strong>(<em>can also be an advantage</em>) &#8211; but if you have organised your remote day(s) properly, then you’ll have a list of things that <strong>you need to do</strong>, not what someone else needs to tell you how to do. If you need more interaction, and your organisation allows it, then use of an instant messaging system may be some help. As are telephones. </li>
<li><strong>Dependent on ISP </strong>- if your internet connection goes down, and you are working on your own pc through a portal, then you are pretty much screwed. Being on-site means that you will still have access to the resources (files/folders/systems/databases/etc) you need should you not have an internet connection. If you have a work laptop then this might be a non-issue as you may well have a local copy of what you need. </li>
<li><strong>Less ‘face time’ </strong>- if your organisation’s <strong>ladder-to-success</strong> requires you have a lot of face time, then this is probably not the best option for you. </li>
</ul>
<p>&#160;</p>
<h4>Set the Ground Rules&#160; </h4>
<p>When you work from home it is important to set a few ground rules, with yourself and your family, so that you have boundaries to work between. Without them, it’s too easy to keep doing the things you want to do instead of the things you need to do.</p>
<ul>
<li>Ensure you have a clearly defined list of things to do. Each item should have a duration and a deadline attached to it. You should really have this already, no matter where you work. </li>
<li>Let your boss know what you intend to accomplish while you are at home &#8211; this commits you to the tasks.&#160; </li>
<li>Define your working hours &#038; stick to them as a <u>minimum</u> &#8211; if you manage to finish your tasks for the day earlier than you expected, get cracking on the ones for the next day. Being more productive than anticipated means you may get more time to work from home in future. Remember, your day is not done until you cross off that last task for the day, even if this means working longer than expected. </li>
<li>Set clear boundaries with your family &#8211; you need to let your family know that when you work from home it’s a luxury. One that can be taken away if it’s not working out. And if they keep interrupting you during your work hours, impacting your productivity, this luxury can be taken away. The incentive is to have these work-from-home days, so that you can be with them for more time than would otherwise be possible. </li>
<li>Get a <a href="http://www.epiforge.com/Grindstone2/" target="_blank">time tracker</a> to keep a note of what you are doing and how long it’s taken you. Actually something like this is handy where ever you are based. </li>
<li>Have a break after each task, or set of tasks. </li>
<li>Ensure you are contactable &#8211; if your boss/colleagues can’t get hold of you during the day this sends the wrong signal and you may have your ‘privileges’ revoked. </li>
<li>Send updates throughout the day, letting your boss know that you are on top of things. </li>
</ul>
<p>&#160;</p>
<p>Further reading on Telecommuting/Working-from-home/Telework/Working-Remotely/#Whadeveryawannacallit</p>
<ul>
<li>Lifehacker &#8211; <a href="http://lifehacker.com/5342945/set-up-a-persistent+video-portal-for-telecommuting-camaraderie" target="_blank">Set up a Persistent-Video Portal for Telecommuting camaraderie</a> </li>
<li>Brent Ozar &#8211; <a href="http://www.brentozar.com/archive/2009/05/how-to-telecommute-status-reports/" target="_blank">How to Telecommute: Status Reports</a> </li>
<li>Brent Ozar &#8211; <a href="http://www.brentozar.com/archive/2009/05/how-to-telecommute-staying-motivated/" target="_blank">How To Telecommute: Staying Motivated</a>&#160; </li>
<li>Gina Trapani &#8211; <a href="http://blogs.hbr.org/trapani/2009/06/master-the-art-of-working-with.html" target="_blank">Master the Art of Working Remotely</a> </li>
</ul>
<p>&#160;</p>
<p>Do you have any thoughts on telecommuting? Let’s hear from you. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/05/telecommuting-sometimes/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iPad justification care of Microsoft Press</title>
		<link>http://www.lukehayler.com/2010/05/ipad-justification-care-of-microsoft-press/</link>
		<comments>http://www.lukehayler.com/2010/05/ipad-justification-care-of-microsoft-press/#comments</comments>
		<pubDate>Wed, 19 May 2010 10:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[iPhone Apps]]></category>
		<category><![CDATA[microsoft press]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/05/ipad-justification-care-of-microsoft-press/</guid>
		<description><![CDATA[
More affordable books means the money you save could be used to buy that iPad you’ve been drooling over. 
I was conducting my weekly search for new apps for my trusty iPhone this weekend and happened to find a goldmine. A long list of books published by Microsoft Press as iPhone/iPod/iPad apps. That in itself [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px" id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:619d1c03-cc6b-4a07-9d1d-33adb925f354" class="wlWriterEditableSmartContent"><a href="http://www.lukehayler.com/wp-content/uploads/iPadjustificationorMorebookforyourbuck_5B9B/MDX_StepByStep8x6.gif" title="now just £3.49...." rel="thumbnail"><img border="0" src="http://www.lukehayler.com/wp-content/uploads/iPadjustificationorMorebookforyourbuck_5B9B/MDX_StepByStep.png" width="226" height="334" /></a></div>
<p>More affordable books means the money you save could be used to buy that iPad you’ve been drooling over. </p>
<p>I was conducting my weekly search for new apps for my trusty iPhone this weekend and happened to find a goldmine. <a href="http://appshopper.com/search/?cat=&amp;device=all&amp;search=MDX++Step+by+Step+2008" target="_blank">A long list of books published by Microsoft</a> Press as iPhone/iPod/iPad apps. That in itself is not all that exciting, but finding out that you could now buy a book for just £3.49 (US$5.99) is. I was a little sceptical at first, thinking why would you be able to buy something for £20 &#8211; £25 LESS than the book/eBook value? So I bought one (<a href="http://appshopper.com/books/microsoft&reg;-sql-server&reg;-2008-mdx-step-by-step" target="_blank">MDX Step-by-Step 2008</a>) to find out just what they we like (and because I need to brush up before attempting another certification).</p>
<p>I was pleasantly surprised. The app is basically a standalone eBook. But it works really well. I’ve tried several eReaders (for the iPhone) but have yet to find one that I really like. This app/eBook is smooth and works perfectly for the content.&#160;&#160;&#160;&#160;&#160; </p>
<p>Now for some justification</p>
<p>How many tech books do you have on your shelf? 10, 15, 20? And you are probably going to buy a whole bunch more right? Well, let’s do some math.</p>
<blockquote><p>20 books @ £25 = £500</p>
<p>20 apps @£3.50 = £70</p>
<p>Saving through buying the app version instead = £430. </p>
<p><em>More than enough for a shiny new iPad.</em></p>
</blockquote>
<p>This isn’t of course restricted to Microsoft Press books. There are loads of others if you look around. I know that there’ll be some people who say “all those apps will just clutter up my already fully laden screen”. All I have to say is. 20 [app] books. £430. Go by a seperate iPad just for your books…jeez.</p>
<p>If you’re at all interested, I’ve also listed <a href="http://www.lukehayler.com/2010/02/my-current-favourite-iphone-3g-apps/" target="_blank">my favourite iPhone apps</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/05/ipad-justification-care-of-microsoft-press/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQLServerPedia Syndication!</title>
		<link>http://www.lukehayler.com/2010/05/sqlserverpedia-syndication/</link>
		<comments>http://www.lukehayler.com/2010/05/sqlserverpedia-syndication/#comments</comments>
		<pubDate>Thu, 06 May 2010 19:42:55 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[sqlserversyndication]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/05/sqlserverpedia-syndication/</guid>
		<description><![CDATA[Today I made a commitment, a commitment to the community. And it starts with SQLServerPedia Syndication. That commitment means that I’ll be writing more, interacting more, sharing more, and if at all possible, entertaining more. (OK, so I’m not sure about the last one, but I sure am gonna try). 
I have to say, it’s [...]]]></description>
			<content:encoded><![CDATA[<p>Today I made a commitment, a commitment to the community. And it starts with <a href="http://www.sqlserverpedia.com" target="_blank">SQLServerPedia</a> Syndication. That commitment means that I’ll be writing more, interacting more, sharing more, and if at all possible, entertaining more. <em>(OK, so I’m not sure about the last one, but I sure am gonna try). </em></p>
<p>I have to say, it’s a little daunting being listed amongst MVP’s, professionals with decades of experience and other big personalities in the SQL Server Community. Thankfully, I thrive in situations like these. Being amongst people who are better than you enables you to up your game &#8211; or at least that’s been the story for me. Upping my game means that you, dear reader, get more quality content on the topics I care about. For now, that includes SQL Server’s Reporting Services and Integration Services. But you knew that already.</p>
<p>I would ask one favour (yes, that’s the way we spell it over here…) of you, and that is feedback. Of any sort. Whilst I get it right most of the time (I hope), there may be occasions that I’m talking absolute dribble. SPEAK UP! I’m sharing from my own experience and opinion, if it’s wrong, or at least if you believe it’s ‘wrong’, I want to know about it and what you believe the right answer to be. </p>
<p>A big thank you to Brent (<a href="http://www.brentozar.com" target="_blank">Blog</a> | <a href="http://twitter.com/BrentO" target="_blank">@BrentO</a>) and everyone else at <a href="http://www.sqlserverpedia.com" target="_blank">SQLServerPedia</a> for the opportunity to give something back. I’m thoroughly looking forward to the journey ahead and seeing where it takes me. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/05/sqlserverpedia-syndication/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>24 Hours of PASS &#8211; SQL Server 2008 R2</title>
		<link>http://www.lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/</link>
		<comments>http://www.lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 20:54:26 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[free stuff]]></category>
		<category><![CDATA[pass]]></category>
		<category><![CDATA[sqlpass]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/</guid>
		<description><![CDATA[Another entire day of presentations from leading speakers and experts and all about SQL Server? Sign me up. PASS has put together another&#160; amazing online event, featuring 24 back-to-back webcasts covering SQL Server and Business Intelligence, starting at 12:00 (GMT) on the 19th May 2010. 
Registration is entirely free, so go take a look at [...]]]></description>
			<content:encoded><![CDATA[<p>Another entire day of presentations from leading speakers and experts and all about SQL Server? Sign me up. PASS has put together another&#160; <a href="http://www.sqlpass.org/24hours/2010/" target="_blank">amazing online event</a>, featuring 24 back-to-back webcasts covering SQL Server and Business Intelligence, starting at 12:00 (GMT) on the 19th May 2010. </p>
<p><a href="https://www323.livemeeting.com/lrs/8000181573/Registration.aspx?pageName=7sh5kdvjm47xplbf" target="_blank">Registration</a> is entirely free, so go take a look at what sessions would suit your needs and sign up. There are several tracks that are covered in this event: Business Intelligence (BI), Database Administration (DBA), Development (DEV), Professional Development (PD) &#8211; each of which have several sessions devoted to them. You can see the list of available sessions here, but some to note are:</p>
<ul>
<li>(BI) Solving common business problems with Microsoft PowerPivot &#8211; Donald Farmer (<a href="http://www.beyeblogs.com/donaldfarmer/" target="_blank">Blog</a> | <a href="http://twitter.com/donalddotfarmer" target="_blank">@Donalddotfarmer</a>) </li>
<li>(BI) Easier than ever Report Authoring in SSRS 2008 &#8211; Jessica M. Moss (<a href="http://jessicammoss.blogspot.com/" target="_blank">Blog</a> | <a href="http://twitter.com/jessicammoss" target="_blank">@jessicammoss</a>) </li>
<li>(BI) Reporting Services Enhancements in SQL Server 2008 &#8211; Greg Low (<a href="http://sqlblog.com/blogs/greg_low/default.aspx" target="_blank">Blog</a> | <a href="http://twitter.com/GregLow" target="_blank">@Greg_Low</a>) </li>
<li>(DBA) What’s really happening on Your Server? 15 Powerful SQL Server Data Management Objects &#8211; Adam Machanic (<a href="http://sqlblog.com/blogs/adam_machanic/" target="_blank">Blog</a> | <a href="http://twitter.com/AdamMachanic" target="_blank">@AdamMachanic</a>) </li>
<li>(DBA) Top 10 Mistakes on SQL Server &#8211; Kevin Kline (<a href="http://sqlblog.com/blogs/kevin_kline/" target="_blank">Blog</a> | <a href="http://twitter.com/kekline" target="_blank">@kekline</a>) </li>
<li>(DBA) BLITZ! 60 Minute Server Takeovers &#8211; Brent Ozar (<a href="http://www.brentozar.com" target="_blank">Blog</a> | <a href="http://twitter.com/BrentO" target="_blank">@BrentO</a>) </li>
<li>(DEV) High Performance Functions &#8211; Simon Sabin (<a href="http://sqlblogcasts.com/blogs/simons/" target="_blank">Blog</a> | <a href="http://twitter.com/simon_sabin" target="_blank">@simon_sabin</a>) </li>
<li>(PD) Manage your DBA Career, Don’t Let it Manage You &#8211; Brad McGehee (<a href="http://www.bradmcgehee.com/" target="_blank">Blog</a> | <a href="http://twitter.com/bradmcgehee" target="_blank">@bradmcgehee</a>) </li>
</ul>
<p>So what are you waiting for? Go tell your boss you’re taking a training day. In fact tell him/her that you are going to get 3 days of training all packed into a single day and all he/she has to pay for is your time away from your desk. Considering what you are going to take away from this event, that’s a pretty good deal. By any standard. So stock up on whatever [legal] stimulants you are partial to (coffee/bacon/etc) and register for one, several, or if your name is <a href="http://thomaslarock.com/" target="_blank">Thomas LaRock</a>, every single session and then <a href="http://www.ustream.tv/channel/24-hours-of-pass" target="_blank">screen cast your efforts using UStream</a>. Read <a href="http://www.sqlpass.org/Community/PASSBlog/tabid/75/Default.aspx#Rockstar" target="_blank">the 24 HOP Team’s interview with Tom</a> for more insight.</p>
<p>Oh, and if you are going to follow (or indeed tweet about) the event on Twitter, use the <a href="http://twitter.com/#search?q=%2324hop" target="_blank">#24HOP</a> hashtag.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rediscovering RANK() &#8211; Selecting the TOP N Rows for each Group or Category</title>
		<link>http://www.lukehayler.com/2010/04/rediscovering-rank-selecting-the-top-n-rows-for-each-group-or-category/</link>
		<comments>http://www.lukehayler.com/2010/04/rediscovering-rank-selecting-the-top-n-rows-for-each-group-or-category/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 09:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/04/rediscovering-rank-selecting-the-top-n-rows-for-each-group-or-category/</guid>
		<description><![CDATA[There may be times when you need to get the top 10 (or n) rows from each group of your dataset to satisfy a business requirement. There are a few ways this can be done, but none so elegant as when you use RANK().
RANK() effectively applies a ranking to each rows in your dataset, based [...]]]></description>
			<content:encoded><![CDATA[<p>There may be times when you need to get the top 10 (or <em>n</em>) rows from each group of your dataset to satisfy a business requirement. There are a few ways this can be done, but none so elegant as when you use RANK().</p>
<p>RANK() effectively applies a ranking to each rows in your dataset, based on a specified grouping and order. This can then be used to select the Top <em>n</em> rows by using an appropriate where clause. Here’s an example:</p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum1" style="color: #606060;">   1:</span> <span style="color: #0000ff;">USE</span> Adventureworks</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum2" style="color: #606060;">   2:</span> <span style="color: #0000ff;">go</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum3" style="color: #606060;">   3:</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum4" style="color: #606060;">   4:</span> <span style="color: #0000ff;">WITH</span> OrdersCTE</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum5" style="color: #606060;">   5:</span> <span style="color: #0000ff;">AS</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum6" style="color: #606060;">   6:</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum7" style="color: #606060;">   7:</span> (</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum8" style="color: #606060;">   8:</span> <span style="color: #0000ff;">Select</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum9" style="color: #606060;">   9:</span>     salespersonid,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum10" style="color: #606060;">  10:</span>     customerid,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum11" style="color: #606060;">  11:</span>     <span style="color: #0000ff;">SUM</span>(subtotal) Total,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum12" style="color: #606060;">  12:</span>     RANK() <span style="color: #0000ff;">OVER</span>(PARTITION <span style="color: #0000ff;">BY</span> salespersonid <span style="color: #0000ff;">ORDER</span> <span style="color: #0000ff;">BY</span> <span style="color: #0000ff;">SUM</span>(subtotal) <span style="color: #0000ff;">desc</span>) Ranking</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum13" style="color: #606060;">  13:</span> <span style="color: #0000ff;">from</span> Sales.SalesOrderHeader</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum14" style="color: #606060;">  14:</span> <span style="color: #0000ff;">Where</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum15" style="color: #606060;">  15:</span>     salespersonid <span style="color: #0000ff;">is</span> <span style="color: #0000ff;">not</span> <span style="color: #0000ff;">null</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum16" style="color: #606060;">  16:</span> <span style="color: #0000ff;">Group</span> <span style="color: #0000ff;">by</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum17" style="color: #606060;">  17:</span>     customerid,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum18" style="color: #606060;">  18:</span>     salespersonid</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum19" style="color: #606060;">  19:</span> )</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum20" style="color: #606060;">  20:</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum21" style="color: #606060;">  21:</span> <span style="color: #0000ff;">Select</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum22" style="color: #606060;">  22:</span>     salespersonid,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum23" style="color: #606060;">  23:</span>     customerid,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum24" style="color: #606060;">  24:</span>     Total,</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum25" style="color: #606060;">  25:</span>     Ranking</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum26" style="color: #606060;">  26:</span> <span style="color: #0000ff;">From</span> OrdersCTE</pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum27" style="color: #606060;">  27:</span> <span style="color: #0000ff;">Where</span></pre>
<p><!--CRLF--></p>
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span id="lnum28" style="color: #606060;">  28:</span>     Ranking &lt;= 10</pre>
<p><!--CRLF--></p>
</div>
</div>
<p>In the above example, I needed to find the top 10 Customers for each Sales Person based on the sum of all order subtotals (using AdventureWorks 2005). Here are the results:</p>
<div id="attachment_339" class="wp-caption aligncenter" style="width: 341px"><a href="http://www.lukehayler.com/wp-content/uploads/2010/04/TSQL_Ranking_Results8x6.png"><img class="size-full wp-image-339 " title="Ranking Results" src="http://www.lukehayler.com/wp-content/uploads/2010/04/TSQL_Ranking_Results8x6.png" alt="" width="331" height="370" /></a><p class="wp-caption-text">Ranking Results</p></div>
<p>You can read more about the <a href="http://msdn.microsoft.com/en-us/library/ms176102.aspx" target="_blank">RANK() function here</a>, and for more ranking functions see <a href="http://msdn.microsoft.com/en-us/library/ms173825.aspx" target="_blank">DENSE_RANK()</a>, <a href="http://msdn.microsoft.com/en-us/library/ms175126.aspx" target="_blank">NTILE()</a> &amp; <a href="http://msdn.microsoft.com/en-us/library/ms186734.aspx" target="_blank">ROWNUMBER()</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/04/rediscovering-rank-selecting-the-top-n-rows-for-each-group-or-category/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQLBits VI &#8211; The 6 Sets.</title>
		<link>http://www.lukehayler.com/2010/03/sqlbits-vi-the-6-sets/</link>
		<comments>http://www.lukehayler.com/2010/03/sqlbits-vi-the-6-sets/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 23:15:28 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[sqlbits]]></category>
		<category><![CDATA[ssas]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/03/sqlbits-vi-the-6-sets/</guid>
		<description><![CDATA[It’s almost time for another SQLBits, and in my [humble] opinion, it’s not soon enough. These free conferences are fantastic and if you do have the opportunity to attend I suggest you do so. Whilst I have only a small idea as to what goes into organising a conference, I am pretty sure that it [...]]]></description>
			<content:encoded><![CDATA[<p>It’s almost time for another SQLBits, and in my [humble] opinion, it’s not soon enough. These free conferences are fantastic and if you do have the opportunity to attend I suggest you do so. Whilst I have only a small idea as to what goes into organising a conference, I am pretty sure that it is a major undertaking. One that I am glad Simon Sabin (<a href="http://sqlblogcasts.com/blogs/simons/" target="_blank">Blog</a>|<a href="http://twitter.com/simon_sabin" target="_blank">Twitter</a>) and the rest of the SQLBits team (and let’s not forget volunteers here) are handling, and handling rather well. If you are keen to help out, in any way, contact Simon and offer your services.</p>
<p>I have only been to one SQLBits Conference (SQLBits V, Newport, Wales) and have talked about it <a href="http://www.lukehayler.com/2009/09/sqlbits-here-i-come/" target="_blank">here</a>, <a href="http://www.lukehayler.com/2009/11/sqlbits-v-conference-session-recap-part-1/" target="_blank">here</a> and <a href="http://www.lukehayler.com/2009/12/sqlbits-v-conference-session-recap-part-ii/" target="_blank">here</a>. I liked it. I liked it a lot (as if you couldn’t tell, right?). I got to meet loads of sqlservery people and had a number of good conversations, attend several brilliant presentations and a number of good ones (most of which I learned a bunch of new things), won a Redgate SQL Compare license (which I am still waiting for btw, Redgate, nudge nudge) and generally had a great time. While SQLBits V was a 3 day affair, SQLBits VI will be 1 day only and the theme is Performance Tuning and Scalability. Oh, and it’s free.</p>
<h3>Conference Details</h3>
<p><a href="http://www.sqlbits.com" target="_blank">SQLBits VI</a> will be held in London, and more specifically, at the Church House Conference Center, Westminster, London, UK on 16th April 2010. Starting at around 8am (for registration, swag-bag pick up and of course a few obligatory bacon baps) the conference kicks off with <a href="http://www.sqlbits.com/information/PublicSessions.aspx" target="_blank">sessions across several tracks</a>:</p>
<ul>
<li>Database Administration </li>
<li>Development </li>
<li>Business Intelligence </li>
</ul>
<p>With the focus being on performance tuning and scalability for all tracks, this promises to be a great conference for learning some interesting things. </p>
<p><a href="http://www.sqlbits.com/information/Registration.aspx" target="_blank">Registration</a> is open (and has been for a little while, if I’m being honest), but you will have to be quick. Becuase it’s only a 1 day conference, but mostly because it’s such a great conference and it’s FREE, places tend to be snapped up pretty darn quick. Also, if you register for SQLBits VI before 30th March 2010 you stand a chance of winning registration to the European PASS Summit (Germany), if you attend SQLBits VI then you stand a chance to win a registration to the PASS Summit (Seattle, USA). </p>
<p>One point on registration. As it is free, people tend to register even if they are not sure if they will actually attend. While this is not a bad thing in itself, if you are one of those people AND it turns out that you cannot attend <strong><em>then please cancel your registration</em></strong>. This frees up a place for someone else that <u>can</u> make it (but was too late [initially] for registration). There’s a lot that goes into planning a conference and most of this is done around the number of attendees. If a number of those registrants don’t pitch up, then there is a not only a whole lot of wasted money but a whole lot of wasted opportunity. Don’t be selfish, think of the community and act accordingly. Remember, it’s free!</p>
<h5>Remember the after party</h5>
<p>The sessions are bound to be fantastic, and you are likely to learn a great deal. But go home early at your peril. The prize giving, party and social after all the day’s events is not something you will want to miss. Why? Well, this is a prime opportunity to really get to know more SQL Server people. People that may well become your friends down the line, or at the very least be a contact point should you need assistance on a specific topic (the SQL Server Community is pretty awesome that way). It is also the best time to find those elusive speakers and ask them the questions that you have prepared. It’s a prime time to do this as the speakers are not stressed out about their presentations and are in a more relaxed and approachable state. They are much more likely to entertain your &lt;ahem&gt;query &lt;/ahem&gt;, especially if you hand them a beer before you do so. </p>
<p>So, stay out a little longer than 6pm and make the most of a wonderful opportunity. </p>
<h3>And finally…</h3>
<p>I’m looking forward to catching up with some old acquaintances and learning a lot of new tricks on how to tune SSIS Packages and Scale Reporting Services Solutions. I’ll also be taking some notes on presentation styles and on what makes a speaker/session a great speaker/session, as I’m thinking getting on to the presentation bandwagon….in the hopefully not-too-distant future.</p>
<p>&#160;</p>
<p>See you at SQLBits VI!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/03/sqlbits-vi-the-6-sets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CV Tips for landing an IT Interview</title>
		<link>http://www.lukehayler.com/2010/03/cv-tips-for-landing-an-it-interview/</link>
		<comments>http://www.lukehayler.com/2010/03/cv-tips-for-landing-an-it-interview/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 09:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[CV]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[opportunities]]></category>
		<category><![CDATA[Recruitment]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/03/cv-tips-for-landing-an-it-interview/</guid>
		<description><![CDATA[The recruitment industry is a cut-throat and ruthless arena. Or so I’ve been told. It’s fast paced, with no time to spare on ifs, buts and maybes. Recruiters have a race against time to find the right candidate and get their details over to their prospective client. This race against time is not necessarily to [...]]]></description>
			<content:encoded><![CDATA[<p>The recruitment industry is a cut-throat and ruthless arena. Or so I’ve been told. It’s fast paced, with no time to spare on ifs, buts and maybes. Recruiters have a race against time to find the right candidate and get their details over to their prospective client. This race against time is not necessarily to fulfil the start date of the position. It is more about finding candidates before any other recruiter does &#8211; and those ‘other recruiters’ may well be in the same company and indeed, on the same team. It’s a competitive environment. Understanding this fact helps us to understand which tools work and why others don’t in the struggle to find that next opportunity. Let’s face it, they may be 1000 candidates that could do the job (you included), but are you part of the 10-15 that are returned in the recruiter’s search? Getting your CV into that shortlist is what counts and hopefully I’ll be able to help you get there. </p>
<p>Recruiters much prefer trying to find candidates before they advertise a job on one of the online job boards. This is primarily because having to wade through the hundreds of CVs they get emailed on day one of posting an advertisement is not very efficient. Those CVs are not searchable or in a standard format, they are literally a heap of emails that the recruiter has to go through one-by-one to find the right candidate. Far too time consuming. They would much rather be doing the searching, and hunting for candidates through the online job websites and their own internal systems/databases is their preferred method for doing so.</p>
<p>Note &#8211; this post is angled at the UK&#160; market, although some tips may also be useful in other countries.</p>
<h4>Spreading yourself far and wide. </h4>
<p>Set up a folder in your web browser favourites and give it an applicable name (recruitment, IT Job sites, etc) and then add the following websites:</p>
<ul>
<li><a href="http://www.jobserve.co.uk" target="_blank">www.jobserve.co.uk</a> &#8211; great for searching for available positions (contract/permanent) </li>
<li><a href="http://www.monster.co.uk" target="_blank">www.monster.co.uk</a> &#8211; good for storing your CV for recruiters to find </li>
<li><a href="http://www.cwjobs.co.uk" target="_blank">www.cwjobs.co.uk</a> &#8211; CV storage for recruiters searches </li>
<li><a href="http://www.itjobboard.co.uk" target="_blank">www.itjobboard.co.uk</a> &#8211; good for finding available positions </li>
<li><a href="http://www.jobsite.co.uk" target="_blank">www.jobsite.co.uk</a> &#8211; great for storing your CV for recruiters to find </li>
</ul>
<p>Now go to each and create a profile and upload your CV. The most important part of creating your profile is completing the skills and experience section as it applies to each site. This is important as it is what the recruiters will use to search for potential candidates. Put down as much information as you can as this will mean that you appear in more search results. </p>
<p>To make sure that you are on the radar, ‘refresh’ your profile at least once a week (simply making your profile private and then public again has this effect). Refreshing your profile has the effect of putting a ‘last activity’ date onto your profile, which recruiters will use to narrow down the search for candidates to just those who have been ‘active’ in the last <em>n</em> days. The best website to use to generate a lot of calls is <a href="http://www.jobsite.co.uk" target="_blank">Jobsite</a>, as this site has the best search facility from a recruitment point of view (apparently).</p>
<p>Don’t bother with emailing the recruiter about a job that you have seen (refer to earlier point about the hundreds they receive). if the job posting does include a telephone number, <strong>CALL THEM!</strong> I can’t stress this enough. If you send an email, you’ll just be one of hundreds of others doing the same thing. Calling affords you the benefit of having the recruiters ear and instantly being on their radar. Then, when they ask for you CV (and they will) send it to them <strong><em>while you are still on the phone.</em></strong> Check that they have received it and then you can be sure that you have done everything you can for that particular position. Wash, rinse, repeat.</p>
<h4>The search is on</h4>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/Recruitment_CVSearchOrigination.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Recruitment_CVSearchOrigination" border="0" alt="Recruitment_CVSearchOrigination" align="right" src="http://www.lukehayler.com/wp-content/uploads/2010/03/Recruitment_CVSearchOrigination_thumb.png" width="444" height="276" /></a> </p>
<p>Whenever I get a call from a recruiter about a potential job I try to find out from them where they found my details and what search they did to get them. For many of them this is Jobsite (as mentioned above), but, more calls stem from recruiters searching their own in-house databases for candidates. Knowing this helps to understand what the best options are for placing your CV. </p>
<p>Now, when I get an email from a recruiter asking for an updated CV, I add ALL of their details to my address book and label them as a recruiter and then reply with the following information:</p>
<ul>
<li>Summary of skills and experience (i.e. SQL Server 2005 5yrs) </li>
<li>Start Availability &#8211; for current available start dates (this may be 3 months off, but still worth stating). </li>
<li>Call availability &#8211; for when the recruiter should check in with me for an update on my situation. </li>
<li>Rate &#8211; the day/hour/annual rate that I’ll be looking for. It’s important to have a range here as this will make more jobs available to you. And while some may be at a lower rate there may be other factors that will make this preferable over one paying a bit more. An example of this is finding a job close to home &#8211; how much is that worth? </li>
<li>Job type &#8211; contract/temp/perm. This ensures that recruiters don’t waste their time and yours when marketing for positions. </li>
<li>Contact details &#8211; your primary email address and phone number. I have set up a gmail account just for recruitment purposes, which I auto-forward to my personal account. This ensure that all my recruitment-related conversations (and contacts) are kept separate from my personal ones and helps to control the spam (well a little anyway).&#160; </li>
</ul>
<p>You WANT to be on their database. Trust me. As long as you are clear about all the facts then you should find that you are only called about applicable jobs at applicable times for applicable rates. You need to “help them, help you”. You are (mostly) database professionals, you know the value of good clean data and what you can make of it. Conversely, you also know that incomplete data can lead to all sorts of problems when it comes to marketing. I know that you are concerned about spam, I am too (that’s why I have a separate email address), but don’t let this one fact detract from the major benefits of having your details readily available to the recruiter who may have your dream job.</p>
<p>Think of this another way. You are searching for your next vehicle, you know you want a 5-door hatch, between £6000 &#8211; £7500. You get hundreds of results. So you start to narrow your search criteria, entering a max distance from where you are, max engine size, etc. This is what happens in a recruitment search. Initially, you are part of the hundreds of candidates that have “SQL Server, Reporting Services, Integration Services” listed as skills, but are you part of the few that also have their availability, rate, contact details, location, etc listed? If the recruiter refines their search by including a rate range and you have not filled this in, then you will be automatically excluded from any of the results. Recruiters need to find the <em>most likely</em> candidate to fill the position, and not appearing in their search means that you are not one of them.</p>
<h4>LinkedIn. Use it or lose it</h4>
<p>Yes, I’m on <a href="http://www.linkedin.com/in/lukehayler" target="_blank">LinkedIn</a> and yes most of my ‘connections’ are recruiters. Whilst I have not had many (comparatively) opportunities originating from this site, I have had a few and those tended to result in more CV-forwards and interviews than other channels. There is also an <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=288429040&amp;mt=8" target="_blank">iPhone app</a>, which is great at making it easy to stay up-to-date with what’s going on in your LinkedIn world.</p>
<p>There are many websites offering online CV creation and storage, but LinkedIn has the added bonus of professional networking. Linking you to many other people through your own contacts &#8211; have you looked at how many people are contactable through the 2nd/3rd level? Use this single fact to generate leads.</p>
<p>Love it or loathe it, LinkedIn does open the door. Sometimes.</p>
<h4>A heads-up to Recruiters (if you are listening)</h4>
<p>I doubt that a) any recruiters will be reading this and, b) even if they do, that they’ll take some of this to heart, but it’s worth trying:</p>
<p>When you leave me a voicemail, <strong>clearly</strong> state your name, company and contact number so that I can call you back. I’ve had several calls that have been so rushed that I couldn’t catch some of the pertinent information and effectively meant that I could not call that person back. Also, leaving a message with “I have a few openings I’d like to discuss with you..” being the extent of the details of your call, means it will be deleted. If you leave message with a short but specific description of a job that you’d like to discuss then I’ll more than likely call you back. My time is precious too and being an information source for you is not how I want to spend 5 &#8211; 10 (15?) minutes of my day. The call needs to be win win. </p>
<p>Thanks for listening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/03/cv-tips-for-landing-an-it-interview/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting the SQL Command Property using Expressions in SSIS 2005</title>
		<link>http://www.lukehayler.com/2010/03/setting-the-sql-command-property-using-expressions-in-ssis-2005/</link>
		<comments>http://www.lukehayler.com/2010/03/setting-the-sql-command-property-using-expressions-in-ssis-2005/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:15:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[data sources]]></category>
		<category><![CDATA[expressions]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[sql server 2005]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/03/setting-the-sql-command-property-using-expressions-in-ssis-2005/</guid>
		<description><![CDATA[&#160;
OLE DB Source Adapter
The OLE DB source connection has several Access Modes:

Openrowset 
Openrowset From Variable 
SQL Command 
SQL Command From Variable 

For now, I am going to focus on the SQL Command options. Using the SQL Command Access Mode requires you to set the SqlCommand property (typing in your SQL query directly), effectively ‘hard coding’ [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<h4>OLE DB Source Adapter</h4>
<p>The OLE DB source connection has several <em>Access Modes:</em></p>
<ul>
<li>Openrowset </li>
<li>Openrowset From Variable </li>
<li>SQL Command </li>
<li>SQL Command From Variable </li>
</ul>
<p>For now, I am going to focus on the SQL Command options. Using the <em>SQL Command</em> Access Mode requires you to set the SqlCommand property (typing in your SQL query directly), effectively ‘hard coding’ the sql statement into the package. Using the <em>SQL Command From Variable</em> option allows you to set the SqlCommand property using a variable and subsequently by using an expression. </p>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_OLEDBSource.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SSIS2005_DataSource_AccessMode_Properties_OLEDBSource" border="0" alt="SSIS2005_DataSource_AccessMode_Properties_OLEDBSource" src="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_OLEDBSource_thumb.png" width="560" height="268" /></a></p>
<p>&#160;</p>
<h4>Data Reader Source</h4>
<p>The Data Reader Source connection has only one Access Mode, and that is <em>SQL Command</em>. Don’t ask me why. At this level you can only set the SqlCommand property by typing in your query, or indeed, copy &amp; paste. </p>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataReaderSource.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SSIS2005_DataSource_AccessMode_Properties_DataReaderSource" border="0" alt="SSIS2005_DataSource_AccessMode_Properties_DataReaderSource" src="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataReaderSource_thumb.png" width="560" height="272" /></a> </p>
<p>&#160;</p>
<h4>Using an Expression to set the SqlCommand Property</h4>
<p>“So then,” you ask, “how might I set the SqlCommand property for each of these Data Sources when it seems that I can’t?”. Here’s how. Let’s first concentrate on the OLE DB Source:</p>
<ol>
<li>Create a new Variable of type string and set your SQL statement </li>
<li>Open up the OLE DB Source and select the ‘SQL Command from Variable’ option </li>
<li>Now, select the the variable created in step 1 as the variable that contains the SQL statement </li>
</ol>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataAccessMode_OLEDBSource_Editor.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SSIS2005_DataAccessMode_OLEDBSource_Editor" border="0" alt="SSIS2005_DataAccessMode_OLEDBSource_Editor" src="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataAccessMode_OLEDBSource_Editor_thumb.png" width="520" height="200" /></a> </p>
<p>At this point your OLE DB source is defined by the query that you have set in the Variable. We now need to create the expression that will define the query at runtime. We do this by navigating to the variable’s properties, setting the <em>EvaluateAsExpression </em>property to <strong>True</strong> and then configuring the expression in the <em>Expression</em> property.</p>
<p>Moving on to the Data Reader Source. With this adapter we only have the option of setting the SqlCommand directly. Or so I thought until recently. If you switch to the Control Flow design surface and select the Data Flow task that contains the Data Reader Source adapter, you will be able to set the SqlCommand using an expression.</p>
<ol>
<li>Select the Data Flow task to bring up its properties </li>
<li>Click the ellipsis (…) to bring up the Expression Editor </li>
<li>Select the [DataReader Source].[SqlCommand] Property </li>
<li>Set your expression. </li>
</ol>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_Expressions.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_Expressions" border="0" alt="SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_Expressions" src="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_Expressions_thumb.png" width="560" height="262" /></a> </p>
<p><a href="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_ExpressionProperties.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_ExpressionProperties" border="0" alt="SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_ExpressionProperties" src="http://www.lukehayler.com/wp-content/uploads/2010/03/SSIS2005_DataSource_AccessMode_Properties_DataFlowTask_ExpressionProperties_thumb.png" width="560" height="382" /></a> </p>
<p>Using variables &amp; expressions to set your queries enables you to centralise your queries, use configuration files to set database connections and capture the queries you are running in logging operations.&#160;&#160; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/03/setting-the-sql-command-property-using-expressions-in-ssis-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
