<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Rob Farley</title><link>http://msmvps.com/blogs/robfarley/default.aspx</link><description>Rob Farley - Owner/Principal with LobsterPot Solutions, Microsoft MVP (SQL Server), mentor with SQLskills and leader of the SQL User Group in Adelaide, Australia</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/robfarley" type="application/rss+xml" /><item><title>The new brand is Microsoft SQL Azure</title><link>http://feedproxy.google.com/~r/robfarley/~3/gSDodwXgw_A/the-new-brand-is-microsoft-sql-azure.aspx</link><pubDate>Thu, 09 Jul 2009 11:57:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1698983</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1698983</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/09/the-new-brand-is-microsoft-sql-azure.aspx#comments</comments><description>&lt;p&gt;It used to be SQL Server Data Services. Then SQL Data Services. Then we started hearing about SQL Services, and now (I hope finally), we have Microsoft SQL Azure instead of SQL Services, and the Microsoft SQL Azure Database instead of SQL Data Services.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://blogs.technet.com/dataplatforminsider/archive/2009/07/08/microsoft-sql-services-is-now-microsoft-sql-azure.aspx" href="http://blogs.technet.com/dataplatforminsider/archive/2009/07/08/microsoft-sql-services-is-now-microsoft-sql-azure.aspx"&gt;http://blogs.technet.com/dataplatforminsider/archive/2009/07/08/microsoft-sql-services-is-now-microsoft-sql-azure.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I think this is a sensible move. For a while now, whenever refer to SQL Services, I have to make it clear that it’s not the Windows Services that run SQL on your server, but that it’s the “in the cloud” offering that Microsoft are bringing out. Now, I can talk about SQL Azure, and it’s very clear what it means. And SQL Azure Database is clear too, as opposed to whatever will come, like (and I’m predicting here, haven’t heard anything) SQL Azure Analytics or SQL Azure Reporting.&lt;/p&gt;  &lt;p&gt;This is definitely a positive move, and should hopefully help people realise that this is not the same as SQL Server, help them approach their SQL Azure platform slightly differently to their On-Premise equivalent. &lt;/p&gt;  &lt;p&gt;For example… At the moment, the SQL Azure Database platform is limited in size. I hope it will soon be unlimited, but for the time being there is a limit which will affect development decisions. If your database suddenly needs to store a lot more data than you expected, you may need to hurriedly work out how you’re going to handle this. But I think having a name which reflects the Azure nature will prompt developers into making this decision earlier.&lt;/p&gt;  &lt;p&gt;I’m looking forward to getting my hands on SQL Azure, and seeing how my job will change because of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1698983" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql+azure/default.aspx">sql azure</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/09/the-new-brand-is-microsoft-sql-azure.aspx</feedburner:origLink></item><item><title>Excel dates counted differently and a reliable way of working out the day of the week</title><link>http://feedproxy.google.com/~r/robfarley/~3/ArR12tJfrZs/excel-dates-counted-differently-and-a-reliable-way-of-working-out-the-day-of-the-week.aspx</link><pubDate>Sun, 05 Jul 2009 11:11:28 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1698168</guid><dc:creator>Rob Farley</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1698168</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/05/excel-dates-counted-differently-and-a-reliable-way-of-working-out-the-day-of-the-week.aspx#comments</comments><description>&lt;p&gt;Following &lt;a href="http://msmvps.com/blogs/robfarley/archive/2009/07/01/40-000-days-since-the-beginning-of-time.aspx" target="_blank"&gt;my recent post about 40,000 days&lt;/a&gt;, I got a couple of emails telling me that Excel disagrees about when the 40,000th day is. And this is true – Excel counts Day 40000 as July 6th 2009, not July 7th.&lt;/p&gt;  &lt;p&gt;&lt;img style="border-bottom:0px;border-left:0px;margin:5px;display:inline;border-top:0px;border-right:0px;" title="" border="0" alt="" align="right" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/8182.image_5F00_2220787A.png" width="424" height="213" /&gt;Unfortunately for Excel users, they’re wrong. And it’s down to the fact that Excel thinks that 1900 was a leap-year, when we all know it wasn’t. You see, leap-years only fall on the century year if the year is divisible by 400. So 2000 was a leap-year, but 1900 wasn’t, and 2100 won’t be either. &lt;/p&gt;  &lt;p&gt;What’s more, this has been a problem for ages, and it was a &lt;a href="http://support.microsoft.com/kb/214326" target="_blank"&gt;conscious decision to introduce the bug&lt;/a&gt;. Essentially, Lotus 1-2-3 thought 1900 was a leap-year, and to be consistent with the market leader of the day, Microsoft treated 1900 as a leap-year too. And nowadays, we have a situation where backwards compatibility is more important. Today, if you have an application which knows that day 40000 is July 7th, then you’d better not treat your date that same way in Excel (or vice-versa).&lt;/p&gt;  &lt;p&gt;The thing that I find really amazing with this is that Excel tells me that Feb 29, 1900 was a Wednesday. But it didn’t exist – so what happened that week? Actually (and you can check other calendars for this, including Windows’ one), Feb 28th was a Wednesday, and Excel gets the day of the week wrong for the first 59 days of its calendar.&lt;/p&gt;  &lt;p&gt;I know you don’t care, but perhaps you should – in case you ever write an application that needs to know what day of the week it is.&lt;/p&gt;  &lt;p&gt;Working out the day of the week is really trivial. For instance, in SQL Server, you can generally ask for the DATEPART(dw,…) of the date in question, and get a number back, telling you what day of the week it is. It’ll tell you 1 for the 1st day of the week, 2 for the 2nd, and so on.&lt;/p&gt;  &lt;p&gt;Which is great, until you find that someone in your organisation says that Sunday is the first of the week, but someone else insists that it’s Monday. In the movie industry, I think Thursday is the first day of the week. So then, when is the 5th day? In SQL we have @@DATEFIRST, which helps a lot, but a method I like to use is to count the number of days since a known Sunday (or whatever), and take the “mod 7”. If that’s zero, I’m an exact number of weeks since that known Sunday. It works nicely, and it’s simple enough for everyone to understand (and it works regardless of location or other changeable settings).&lt;/p&gt;  &lt;p&gt;But if you had picked your “known Sunday” in early 1900 using Excel, you’d’ve got it wrong, and your data might not work if you push your system out to SQL later (so pick something later – like 1901). I recently dealt with a date dimension that someone had put together in Excel and imported into SQL – if this data had gone back to 1900, then there would’ve certainly been errors in it (for a start, the import wouldn’t’ve worked because SQL would’ve complained that Feb 29, 1900 wasn’t a valid date).&lt;/p&gt;  &lt;p&gt;My preference with date dimensions is to use a lot of computed columns, and only ever populate a single field. It works nicely, and it’s almost no effort to extend the table to include extra dates when required.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1698168" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/excel/default.aspx">excel</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/05/excel-dates-counted-differently-and-a-reliable-way-of-working-out-the-day-of-the-week.aspx</feedburner:origLink></item><item><title>Big events every month this quarter</title><link>http://feedproxy.google.com/~r/robfarley/~3/dcuqykkdLZE/big-events-every-month-this-quarter.aspx</link><pubDate>Wed, 01 Jul 2009 02:23:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1697416</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1697416</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/01/big-events-every-month-this-quarter.aspx#comments</comments><description>&lt;p&gt;A new Financial Year in Australia, and a bunch of technical events coming up.&lt;/p&gt;  &lt;p&gt;Of course there’s the &lt;a href="http://www.sqlserver.org.au" target="_blank"&gt;usual monthly user groups&lt;/a&gt;, but there’s more – particularly if you’re in Adelaide.&lt;/p&gt;  &lt;p&gt;July sees &lt;a href="http://www.codecampsa.com/" target="_blank"&gt;CodeCampSA&lt;/a&gt; in Adelaide on the weekend of July 18/19. I’ve put my name into the hat for speakers, and will try to be there for a chunk of Saturday (Sundays are too busy for me). I’m sure at least one of my sons will want to come along as well, which will be fun. Big thanks to &lt;a href="http://davidgardiner.blogspot.com/" target="_blank"&gt;David Gardiner&lt;/a&gt; for putting the website together.&lt;/p&gt;  &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:84E294D0-71C9-4bd0-A0FE-95764E0368D9:e516c336-fb60-4b42-a436-51f77f6fba12" class="wlWriterEditableSmartContent"&gt;&lt;a href="http://maps.live.com/default.aspx?v=2&amp;amp;cp=-34.92264~138.5971&amp;amp;lvl=15&amp;amp;style=r&amp;amp;sp=aN.-34.92252_138.5924_CityWest%2520(UniSA)_&amp;amp;mkt=en-us&amp;amp;FORM=LLWR" id="map-4c67c448-1eb5-4571-a88a-13d9bafab96a" title="Click to view this map on Live.com"&gt;&lt;img src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/0005.map6e285d2981ff_5F00_45F4D382.jpg" width="320" height="240" alt="Map picture" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;August sees SharePoint Saturday come to &lt;a href="http://www.sharepointsaturday.org/sydney/default.aspx" target="_blank"&gt;Sydney&lt;/a&gt; (8th) and &lt;a href="http://www.sharepointsaturday.org/adelaide/default.aspx" target="_blank"&gt;Adelaide&lt;/a&gt; (15th). You may not agree with &lt;a href="http://twitter.com/AaronSaikovski2/status/2324273317" target="_blank"&gt;Aaron about what SharePoint is&lt;/a&gt;, but if you’re into SharePoint, I’m sure you’ll get a lot out of these events.&lt;/p&gt;  &lt;p&gt;September brings Australian geeks to the Gold Coast again for the Microsoft’s annual &lt;a href="http://www.msteched.com/australia/Public/default.aspx" target="_blank"&gt;TechEd Australia&lt;/a&gt;, this year with the added incentive of an &lt;a href="http://www.msteched.com/australia/Public/windows-7-experience.aspx" target="_blank"&gt;HP Mini for attendees&lt;/a&gt; (conditions apply of course). It’s the 2140, which is a discontinued line, but that doesn’t make it any less attractive a machine. I’m sure this will help persuade people to get themselves over to Queensland.&lt;/p&gt;  &lt;p&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/1588.image_5F00_55483591.png" width="334" height="265" /&gt;&amp;#160;&amp;#160; &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:84E294D0-71C9-4bd0-A0FE-95764E0368D9:79776f6f-473c-4409-aaa3-a0ecd6f4e347" class="wlWriterEditableSmartContent"&gt;&lt;a href="http://maps.live.com/default.aspx?v=2&amp;amp;cp=-28.02945~153.4315&amp;amp;lvl=15&amp;amp;style=a&amp;amp;scene=28150024&amp;amp;sp=aN.-28.02827_153.4288_Gold%2520Coast%2520Convention%2520Centre_&amp;amp;mkt=en-us&amp;amp;FORM=LLWR" id="map-5b6f7636-6577-422f-ac4d-88ba141b37d3" title="Click to view this map on Live.com"&gt;&lt;img src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/6862.mapee0fbab19253_5F00_77DC4E3F.jpg" width="320" height="240" alt="Map picture" /&gt;&lt;/a&gt;&lt;/div&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;And in case you hadn’t realised, I’ve recently discovered how easy it is to put maps into blogs using Windows Live Writer… just so that you can all see the beach, and understand how poorly attended the sessions would be if they ran TechEd Australia in the summer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1697416" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/community/default.aspx">community</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/australia/default.aspx">australia</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/adelaide/default.aspx">adelaide</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/teched/default.aspx">teched</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/01/big-events-every-month-this-quarter.aspx</feedburner:origLink></item><item><title>40,000 days since the beginning of ‘time’</title><link>http://feedproxy.google.com/~r/robfarley/~3/KzvWqfneLxk/40-000-days-since-the-beginning-of-time.aspx</link><pubDate>Wed, 01 Jul 2009 00:12:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1697412</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1697412</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/01/40-000-days-since-the-beginning-of-time.aspx#comments</comments><description>&lt;p&gt;Next Tuesday feels like a significant day. Not only is it 7/7, and the fourth anniversary of the London bombings (in 2005), but it’s 40,000 days since the beginning of time. Well, not proper time, but since the start of the 1900s. &lt;/p&gt;  &lt;p&gt;SELECT DATEDIFF(day,&amp;#39;19000101&amp;#39;,&amp;#39;20090707&amp;#39;)+1 AS DaysOf1900s&lt;/p&gt;  &lt;p&gt;So if Day 1 is Jan 1, 1900 (as many systems tend to use – SQL actually considers it Day 0), Day 40000 is 7/7/2009.&lt;/p&gt;  &lt;p&gt;I actually rate the start of the twentieth century as a very significant event in the human race. In 1900 the world was changing faster than it had ever done before, and no-one can deny the significance of the twentieth century in history. I’m sure change will continue to become faster, but I found it interesting recently when I noticed that we were approaching this ‘milestone’ of sorts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1697412" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/non-tech/default.aspx">non-tech</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/01/40-000-days-since-the-beginning-of-time.aspx</feedburner:origLink></item><item><title>Disabling the beep</title><link>http://feedproxy.google.com/~r/robfarley/~3/hvG4AWD4YPg/disabling-the-beep.aspx</link><pubDate>Tue, 30 Jun 2009 10:30:31 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1697302</guid><dc:creator>Rob Farley</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1697302</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/06/30/disabling-the-beep.aspx#comments</comments><description>&lt;p&gt;I thought I’d blogged about this before, but when talking about with &lt;a href="http://sqlblogcasts.com/blogs/simons/archive/2009/06/30/How-to-stop-that-annoying-beep-on-your-server.aspx" target="_blank"&gt;Simon Sabin&lt;/a&gt; just now, I couldn’t find it.&lt;/p&gt;  &lt;p&gt;Simon’s just blogged a couple of ways of stopping the beep from the command line. Here’s one using a User Interface. &lt;/p&gt;  &lt;p&gt;Go to Device Manager, and make sure that “Show Hidden Devices” is checked in the View menu.&lt;/p&gt;  &lt;p&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="DeviceManager" border="0" alt="DeviceManager" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/2148.DeviceManager_5F00_290200CC.jpg" width="506" height="326" /&gt; &lt;/p&gt;  &lt;p&gt;Now you can find the Beep in the “Non-Plug and Play Drivers” section and edit its properties (setting it to Disabled).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1697302" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/windows/default.aspx">windows</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/06/30/disabling-the-beep.aspx</feedburner:origLink></item><item><title>A review – SQL Server 2008 Internals</title><link>http://feedproxy.google.com/~r/robfarley/~3/LqeaL1Y2xHQ/a-review-sql-server-2008-internals.aspx</link><pubDate>Sat, 13 Jun 2009 04:37:45 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1695166</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1695166</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/06/13/a-review-sql-server-2008-internals.aspx#comments</comments><description>&lt;p&gt;I’m reading SQL Server 2008 Internals at the moment. I say ‘reading’, because I think it’s going to be long-term thing. It’s just so full of useful information, that I’m sure I’ll be reading it over and over for a long time yet.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/kalen_delaney/" target="_blank"&gt;Kalen Delaney&lt;/a&gt;’s books are always great, but in this one she has help from &lt;a href="http://www.sqlskills.com/" target="_blank"&gt;Paul Randal &amp;amp; Kimberly Tripp&lt;/a&gt;, &lt;a href="http://blogs.msdn.com/conor_cunningham_msft" target="_blank"&gt;Conor Cunningham&lt;/a&gt; and &lt;a href="http://sqlblog.com/blogs/adam_machanic/" target="_blank"&gt;Adam Machanic&lt;/a&gt; – all SQL Server legends in their own right. The book they have made is just excellent, and should be read by everyone who wants to get deeper into SQL Server. There are some sections I’ve only skimmed over so far, whilst others I’ve read thoroughly. In time I think I will have read every page multiple times, but this is definitely a resource that can be read that way (yes, Kimberly, it has a good index).&lt;/p&gt;  &lt;p&gt;It covers so much useful stuff it’s hard to think of a better resource for SQL Server 2008. It doesn’t go into design very much, but it will affect your design decisions. It doesn’t go into writing queries, but it will affect the queries you write. I really think this book would be an asset to anyone who wants to know more about SQL Server.&lt;/p&gt;  &lt;p&gt;[Updated: &lt;a href="http://www.mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=c3FsIHNlcnZlciAyMDA4IGludGVybmFscw==-lfBFhWZqdoU=" target="_blank"&gt;This link&lt;/a&gt; should take you to where you can find and buy the book. MSPress have 50% off their books until June 30, 2009, which makes this book an even better investment]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1695166" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql+server+2008/default.aspx">sql server 2008</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/book+review/default.aspx">book review</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/06/13/a-review-sql-server-2008-internals.aspx</feedburner:origLink></item><item><title>Access’ DISTINCTROW keyword explained – it means WHERE EXISTS</title><link>http://feedproxy.google.com/~r/robfarley/~3/A0VFcVly80w/access-distinctrow-keyword-explained-it-means-where-exists.aspx</link><pubDate>Thu, 11 Jun 2009 11:25:15 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1694981</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1694981</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/06/11/access-distinctrow-keyword-explained-it-means-where-exists.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://www.convertu2.com" target="_blank"&gt;Steve Koop&lt;/a&gt; spoke recently at the &lt;a href="http://www.sqlserver.org.au" target="_blank"&gt;Adelaide SQL Server User Group&lt;/a&gt;, talking about things which don’t convert particularly nicely when upsizing from Microsoft Access to SQL Server 2008. I think this is a really important thing for SQL people to know, as there seem to be many Access databases living in even the largest organisations.&lt;/p&gt;  &lt;p&gt;One of the things he mentioned was DISTINCTROW. I’ve never really known what DISTINCTROW does, so I asked him. He sent me a link which explained the difference between DISTINCTROW and DISTINCT, and it described as “DISTINCTROW works on records, not just individual fields”. This might be good for some people, but I wanted to know a little more.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/aa140015.aspx" href="http://msdn.microsoft.com/en-us/library/aa140015.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa140015.aspx&lt;/a&gt; says “The DISTINCTROW keyword is similar to the DISTINCT keyword except that it is based on entire rows, not just individual fields.” – but it also goes on to say a little more, confirming my suspicions. “It is useful only when based on multiple tables, and only when you select fields from some, but not all, of the tables.”&lt;/p&gt;  &lt;p&gt;So DISTINCTROW is more about the JOIN type than anything else. It only applies if you are querying multiple tables, but not returning fields from all of them. So it’s a SEMI JOIN to the unused tables, which you write SQL Server using a WHERE EXISTS clause. It’s not really like DISTINCT at all – it’s about doing a Join without seeing the ‘duplication’ effect, clearly only feasible if you’re not returning columns from the other table.&lt;/p&gt;  &lt;p&gt;If you’re not sure what a Semi Join is, then just think about the WHERE EXISTS clause, and it should become clear. If you look at the execution plan of a query in SQL Server that uses WHERE EXISTS, you’ll see that it’s doing a Semi Join. And if you’re looking at queries which use DISTINCTROW, consider changing them to WHERE EXISTS instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1694981" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/adssug/default.aspx">adssug</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/access/default.aspx">access</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/06/11/access-distinctrow-keyword-explained-it-means-where-exists.aspx</feedburner:origLink></item><item><title>Putting a Calculated Member into a Display Folder</title><link>http://feedproxy.google.com/~r/robfarley/~3/lgnhIWrDsmI/putting-a-calculated-member-into-a-display-folder.aspx</link><pubDate>Tue, 09 Jun 2009 11:10:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1694718</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1694718</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/06/09/putting-a-calculated-member-into-a-display-folder.aspx#comments</comments><description>&lt;p&gt;There are some blog posts that are there to inform other people – this isn’t one of these. This is something I always seem to forget, and I’m hoping that writing it in here will cause me to never forget again. It’s the knot in my handkerchief, or the writing on my hand. &lt;/p&gt;  &lt;p&gt;I put an SSAS (2005) Calculated Member in a cube, and then have trouble trying to get it into a Display Folder, or associating it with a Measure Group…&lt;/p&gt;  &lt;p&gt;I always hit F4 and go hunting through the properties list… repeatedly pull down the drop down that says [Measures], looking for it… until I eventually remember the extra little button on the toolbar. The one in the picture on the right.&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/2502.image_5F00_048E3486.png"&gt;&lt;img title="image" style="border-right:0px;border-top:0px;display:inline;margin-left:0px;border-left:0px;margin-right:0px;border-bottom:0px;" height="129" alt="image" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/6215.image_5F00_thumb_5F00_012C9CDE.png" width="244" align="right" border="0" /&gt;&lt;/a&gt; It’s the button between the Script button and the Check Syntax button… the button that always seems to escape out of my head, driving me crazy every few months.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1694718" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/ssas/default.aspx">ssas</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/06/09/putting-a-calculated-member-into-a-display-folder.aspx</feedburner:origLink></item><item><title>Seriously cheap exams in Australia</title><link>http://feedproxy.google.com/~r/robfarley/~3/tRERwNKYPXQ/seriously-cheap-exams-in-australia.aspx</link><pubDate>Wed, 06 May 2009 02:56:41 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1691922</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1691922</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/05/06/seriously-cheap-exams-in-australia.aspx#comments</comments><description>&lt;p&gt;If you’re an MCP in Australia and you haven’t passed any exams over the past couple of years (since July 1, 2007), then Microsoft has an offer at the moment to let you do an exam for only US$25 (until June 30, 2009). Ok, so that means the price really depends on the value of the Aussie dollar, but either way, it’s not a bad opportunity.&lt;/p&gt;  &lt;p&gt;The offer is only on for a very short time, but why not check out &lt;a title="http://www.learnandcertify.com/mcpupgrade/" href="http://www.learnandcertify.com/mcpupgrade/"&gt;http://www.learnandcertify.com/mcpupgrade/&lt;/a&gt; and see what you can do? I’m thinking it’s a nice opportunity to knock over one of those Upgrade exams to get yourself from MCITP:SQL2005 to MCITP:SQL2008. You don’t get a second shot with this one, and you can only get one voucher – but it’s so cheap you may as well try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1691922" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/australia/default.aspx">australia</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/certification/default.aspx">certification</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/professional+development/default.aspx">professional development</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql+server+2008/default.aspx">sql server 2008</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/05/06/seriously-cheap-exams-in-australia.aspx</feedburner:origLink></item><item><title>SQL Server 2008 SP1 download</title><link>http://feedproxy.google.com/~r/robfarley/~3/GaHDathN0uc/sql-server-2008-sp1-download.aspx</link><pubDate>Wed, 08 Apr 2009 01:01:49 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1685733</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1685733</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/04/08/sql-server-2008-sp1-download.aspx#comments</comments><description>&lt;p&gt;You can get it from &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For all those people who have been waiting for SP1 before considering a migration to SQL Server 2008, it has now been released.&lt;/p&gt;  &lt;p&gt;There’s also a new version of the Feature Pack for SQL Server 2008, available from: &lt;a title="http://www.microsoft.com/downloads/details.aspx?familyid=B33D2C78-1059-4CE2-B80D-2343C099BCB4&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?familyid=B33D2C78-1059-4CE2-B80D-2343C099BCB4&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=B33D2C78-1059-4CE2-B80D-2343C099BCB4&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1685733" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql+server+2008/default.aspx">sql server 2008</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/04/08/sql-server-2008-sp1-download.aspx</feedburner:origLink></item><item><title>New business cards via Click</title><link>http://feedproxy.google.com/~r/robfarley/~3/5zSSwSBxylU/new-business-cards-via-click.aspx</link><pubDate>Mon, 06 Apr 2009 08:30:27 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1685026</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1685026</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/04/06/new-business-cards-via-click.aspx#comments</comments><description>&lt;p&gt;For &lt;a href="http://msmvps.com/blogs/robfarley/archive/2008/10/30/a-few-changes.aspx" target="_blank"&gt;over six months&lt;/a&gt; I’ve been meaning to get business cards. Work has been busy though, and I just haven’t prioritised it. Last week I finally got around to it, and I was really quite impressed with the process.&lt;/p&gt;  &lt;p&gt;&lt;img title="lp2_front_side - small" style="border-right:0px;border-top:0px;display:inline;margin:5px 10px 5px 0px;border-left:0px;border-bottom:0px;" height="125" alt="lp2_front_side - small" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley/lp2_5F00_front_5F00_sidesmall_5F00_13D5B537.jpg" width="204" align="left" border="0" /&gt; I’d been playing around with layout for a while, and also had to work out what title I should use. A couple of people recommended &lt;a href="http://www.clickbusinesscards.com.au/" target="_blank"&gt;Click Business Cards&lt;/a&gt;, and so I checked them out. I submitted my appropriately-sized JPGs and put my order in for gloss on both sides. As I was hoping to give some out this week, I had dropped them a line to ask if I could get the order marked ‘Urgent’, which they kindly did. As a result, the order was finished about a day and a half after I submitted the order, and they arrived in the post today.&lt;/p&gt;  &lt;p&gt;As a result, I’m inclined to use Click again, and will be happily recommending them to people who want a quick and easy business card service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1685026" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/non-tech/default.aspx">non-tech</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/04/06/new-business-cards-via-click.aspx</feedburner:origLink></item><item><title>Time zone limbo</title><link>http://feedproxy.google.com/~r/robfarley/~3/erk62zz9Px4/time-zone-limbo.aspx</link><pubDate>Wed, 01 Apr 2009 09:00:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1683678</guid><dc:creator>Rob Farley</dc:creator><slash:comments>6</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1683678</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/04/01/time-zone-limbo.aspx#comments</comments><description>&lt;p&gt;Australia is currently in an interesting week for time zones.&lt;/p&gt;  &lt;p&gt;Up until a couple of years ago, Daylight Savings finished on the last Sunday in March. That’s when the clocks got put back to Standard Time, as the Australian summer ended. Last year though, this got extended by a week, until the first Sunday in April. A similar change was made in October, changing the start of Daylight Savings from the last weekend of October to the first weekend of October. We now have six months of summer instead of five (although weather-wise, it’s a lot more…)&lt;/p&gt;  &lt;p&gt;That’s fine – most people have patched their machines happily, and don’t have a problem. My mobile phone is an old O2 XDA, running Windows Mobile 2003 (I once upgraded to a newer device, but a washing machine had an argument with it and won). Unfortunately, i don’t think there’s a patch for WM2003, and so this week my phone (and hence, my alarms) thinks that I’m an hour out.&lt;/p&gt;  &lt;p&gt;It’s fine when I’m in Melbourne or Sydney – I can set the time zone to be &lt;a href="http://en.wikipedia.org/wiki/Magadan" target="_blank"&gt;Magadan&lt;/a&gt; (which is in Russia), and the problem goes away. All good – I don’t really care where my phone thinks I am, just so long as the time is right.&lt;/p&gt;  &lt;p&gt;The problem is when I’m in Adelaide… Adelaide which is normally in GMT+0930 (yes, on the half-hour), but this week is still in GMT+1030. According to my mobile device, there is nowhere in the world that is GMT+1030 this week. So instead I’ve had to change my alarms to wake me up half an hour later, whilst I pretend I’m in Siberia. I recently learned that the Russian for “Bless You” (ie, that thing you say when someone sneezes) is “Bud Zdorov” (literally &amp;quot;Be Healthy”, and I apologise for the spelling. ‘Bud’ rhymes with ‘Good’). I’m not sure it’s quite enough to get me through though.&lt;/p&gt;  &lt;p&gt;One day I plan to visit Kathmandu, where the time zone is on the quarter-hour. Then I can return to the normality of Adelaide’s half-hour time zone.&lt;/p&gt;  &lt;p&gt;I’ve written about the &lt;a href="http://msmvps.com/blogs/robfarley/archive/2006/10/25/The-horror-of-daylight-savings-_2800_sorry-Perth_2900_.aspx" target="_blank"&gt;pain of daylight savings&lt;/a&gt; before, particularly around the pain of storing datetime fields in a database. Today i read &lt;a href="http://blogs.msdn.com/bartd/archive/2009/03/31/the-death-of-datetime.aspx" target="_blank"&gt;a post from Bart Duncan, recommending the use of datetimeoffset&lt;/a&gt;. I thoroughly agree with him, although I wonder how long it will be before people make this a priority.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1683678" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/australia/default.aspx">australia</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/adelaide/default.aspx">adelaide</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/04/01/time-zone-limbo.aspx</feedburner:origLink></item><item><title>Converting to (and from) Julian Date (YYDDD) format in T-SQL</title><link>http://feedproxy.google.com/~r/robfarley/~3/7NOe3a9f-zw/converting-to-and-from-julian-format-in-t-sql.aspx</link><pubDate>Wed, 25 Mar 2009 07:51:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1681165</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1681165</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/03/25/converting-to-and-from-julian-format-in-t-sql.aspx#comments</comments><description>&lt;p&gt;I often get asked how to convert a datetime into Julian Date format in T-SQL. People have differing opinions about what Julian means, but the one I got asked about most recently meant YYDDD, as often used by mainframe systems (I think this is Julian Date, as opposed to Julian Day which is the number of days since 4713BC). SQL Server doesn’t have a TO_JULIAN function, but we can make one easily enough.&lt;/p&gt;  &lt;p&gt;So we’re wanting to express a date as YYDDD, where YY is the two-digit form of the year, and DDD is the number of days since Dec 31st of the previous year (ie, the DDDth day of the year).&lt;/p&gt;  &lt;p&gt;Using the DATEPART function can get each part. YY for the year, and DY for the day of the year. I’m going to use @date as a variable here, of type datetime. Using the date type in SQL 2008 would work just the same.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT DATEPART(yy, @date), DATEPART(dy, @date)&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;However, to make sure that we have the year in two-digits only, we should convert this to a string and get the rightmost two characters. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT RIGHT(CAST(DATEPART(yy, @date) AS char(4)),2)&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;We also need to pad the DDD with zeroes – which I’ll do by putting three zeroes in front of the number and getting the three rightmost characters.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT RIGHT(&amp;#39;000&amp;#39; + CAST(DATEPART(dy, @date) AS varchar(3)),3)&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Concatenating the YY and the DDD, we now have a TO_JULIAN function.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;CREATE FUNCTION dbo.to_julian(@date datetime) RETURNS char(5) AS        &lt;br /&gt;BEGIN         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; RETURN (SELECT RIGHT(CAST(YEAR(@date) AS CHAR(4)),2) + RIGHT(&amp;#39;000&amp;#39; + CAST(DATEPART(dy, @date) AS varchar(3)),3))         &lt;br /&gt;END&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Converting back again isn’t too hard – it’s just a matter of pulling the numbers out of the 5-character string. I’m going to assume we have a char(5) called @julian.&lt;/p&gt;  &lt;p&gt;We need to split the string up first.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT LEFT(@julian,2), RIGHT(@julian,3)&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The first bit becomes the year easily enough&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT CONVERT(datetime, LEFT(@julian,2) + &amp;#39;0101&amp;#39;, 112)&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The second half can be cast to a number, and then added back (subtracting one to get the maths right) using DATEADD.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;SELECT DATEADD(day, CAST(RIGHT(@julian,3) AS int) - 1, CONVERT(datetime, LEFT(@julian,2) + &amp;#39;0101&amp;#39;, 112))&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So now we have a FROM_JULIAN function:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;CREATE FUNCTION dbo.from_julian(@julian char(5)) RETURNS datetime AS        &lt;br /&gt;BEGIN         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; RETURN (SELECT DATEADD(day, CAST(RIGHT(@julian,3) AS int) - 1, CONVERT(datetime, LEFT(@julian,2) + &amp;#39;0101&amp;#39;, 112)))         &lt;br /&gt;END&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Easy stuff really, just a matter of thinking about what we mean by a particular format.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1681165" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/03/25/converting-to-and-from-julian-format-in-t-sql.aspx</feedburner:origLink></item><item><title>A review – Microsoft Windows PowerShell Step By Step (Ed Wilson)</title><link>http://feedproxy.google.com/~r/robfarley/~3/JmA12aIvvug/a-review-microsoft-windows-powershell-step-by-step-ed-wilson.aspx</link><pubDate>Sun, 22 Mar 2009 23:10:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1680488</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1680488</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/03/23/a-review-microsoft-windows-powershell-step-by-step-ed-wilson.aspx#comments</comments><description>&lt;p&gt;Another book review, and another giveaway for the &lt;a href="http://www.sqlserver.org.au/" target="_blank"&gt;Adelaide SQL Server User Group&lt;/a&gt;. This time, it’s &lt;a href="http://www.mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=d2luZG93cyBwb3dlcnNoZWxsIHN0ZXA=-r06Att6Y5CQ=" target="_blank"&gt;Microsoft Windows PowerShell Step By Step&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Last month I had picked up the &lt;a href="http://msmvps.com/blogs/robfarley/archive/2009/02/23/a-review-windows-powershell-scripting-guide.aspx" target="_blank"&gt;Windows PowerShell Scripting Guide&lt;/a&gt;, wondering if it was going to be a good recommendation for people who were interesting in getting into PowerShell. Even though I thought the book was very good (particularly if you want to use PowerShell to access the innards of a Windows installation), it didn’t seem like the right book for recommending for PowerShell beginners.&lt;/p&gt;  &lt;p&gt;This book is though, and I’ll definitely recommend it for people wanting to get into PowerShell.&lt;/p&gt;  &lt;p&gt;It’s worth pointing out that it’s a thinner (and cheaper) book than the other one. It certainly doesn’t cover how to perform the variety of Windows Admin commands that the Scripting Guide did. But what it replaces that with is a guide on getting the most out of PowerShell. PowerShell is used in so many different products now, it’s no longer just the domain of Windows Administrators. Developers can use PowerShell for unit tests. DBAs can use PowerShell to perform routine maintenance. Just about everyone in IT could use PowerShell to make their job easier. My background is in development, not system administration, so I’m always keen to write code to automate tasks. I was never that keen on VBScript, but PowerShell gives me a much richer environment while also being much closer to the system itself. I can hook into subsystems of Windows and .Net objects easily, and into environment variables, certificates and more, piping the results into other functions and utilities to extend the scripts as much as my imagination can provide. I’m always happy to recommend PowerShell as an important skill for the future.&lt;/p&gt;  &lt;p&gt;And this book can people get introduced to PowerShell, walking them (step by step, just like the title suggests) into the depths of PowerShell – leveraging functions and providers, and a good introduction to using PowerShell with WMI and Exchange. I’ve enjoyed reading it, and plan to re-read it a few times over the next months, looking for those techniques that I’m not using (yet) but that I’d like become more familiar with. PowerShell reminds me of my early days using the &lt;a href="http://www.vim.org/" target="_blank"&gt;vi editor&lt;/a&gt; (which I still use as my preferred text editor in Windows). We were forced to use vi at university, and the learning curve felt very steep. It seemed as if I learned some new (and better) way of doing something every day, to the extent that these days I still find it by far the quickest way to edit many types of text files. This book feels like those fellow students of mine, pointing out features I didn’t know existed even after I felt proficient (although I’m pleased to mention, not as many as I thought there might have been).&lt;/p&gt;  &lt;p&gt;The book also has a CD full of examples that I need to find time to go through (and tweak, and practise, and learn). It includes a bunch of utilities, and an electronic copy of the book as well. Having said that, the book isn’t too big to carry with me for a while, and I’m sure will be a regular read for those “no electronic device” periods of flights.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1680488" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/adssug/default.aspx">adssug</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/powershell/default.aspx">powershell</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/book+review/default.aspx">book review</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/03/23/a-review-microsoft-windows-powershell-step-by-step-ed-wilson.aspx</feedburner:origLink></item><item><title>Things You Know Now</title><link>http://feedproxy.google.com/~r/robfarley/~3/P1bxhVgazoE/things-you-know-now.aspx</link><pubDate>Mon, 16 Mar 2009 23:44:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1678911</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1678911</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/03/17/things-you-know-now.aspx#comments</comments><description>&lt;p&gt;This blog meme is doing the rounds&amp;hellip; I&amp;rsquo;ve been tagged at least twice now (&lt;a href="http://blogs.digineer.com/blogs/jasons/archive/2009/02/16/things-you-know-now.aspx" target="_blank"&gt;Jason Strate&lt;/a&gt; and &lt;a href="http://blogs.sqlserver.org.au/blogs/greg_linwood/archive/2009/03/16/1488.aspx" target="_blank"&gt;Greg Linwood&lt;/a&gt;), so I suppose subconsciously I&amp;rsquo;ve been thinking about this stuff for a few weeks already.&lt;/p&gt;
&lt;p&gt;Since I do a lot of training, I tend to explain these things to my students anyway. I have a lot of opportunity to stand up in front of people and tell them important stuff &amp;ndash; so this kind of thing definitely comes up now and then.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Things I wish I had known years ago &lt;/b&gt;(career-wise that I would teach new people in the SQL field)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The Importance of technical communities&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I remember when &lt;a href="http://www.craigbailey.net/live/post/2008/10/20/My-ideal-role.aspx" target="_blank"&gt;Craig Bailey wrote about his ideal role&lt;/a&gt;. It wasn&amp;rsquo;t new stuff &amp;ndash; I had heard it all before, but it certainly got me thinking about how people can influence where they are in that &lt;a href="http://craigbailey.net/live/image.axd?picture=WindowsLiveWriter/Myidealrole_D6FF/image_2.png" target="_blank"&gt;Venn diagram&lt;/a&gt;. For Craig, he wanted his ideal role to be a job that he was good at and that he enjoyed. Obviously to be a job, someone has to be prepared to pay him sufficiently too.&lt;/p&gt;
&lt;p&gt;Being good at something you enjoy isn&amp;rsquo;t hard, and you can invest your own time (outside of the job that you don&amp;rsquo;t enjoy) developing your skills. For people in IT, I suggest they pick a particular area they find interesting, and start getting their skills up. If they can become expert-level in that area, then great. &lt;/p&gt;
&lt;p&gt;The next problem though, is moving that skill into something that lets you can earn money. Community can help that. Community can help you develop your skills, because you&amp;rsquo;re spending time with other people in your field. But as you become an expert, presenting at community events, developing a profile, you find yourself being differentiated from the rest. If nothing else, people know you have presentation skills. Every presentation can become like a job interview &amp;ndash; showing your skills and ability to communicate information to clients, colleagues, whoever. &lt;/p&gt;
&lt;p&gt;Presenting isn&amp;rsquo;t easy, but there are plenty of other communities that can help develop those skills. You can get along to a &lt;a href="http://www.toastmasters.net.au/" target="_blank"&gt;ToastMasters&lt;/a&gt; group, or offer to do presentations in a group to which you already belong. &lt;/p&gt;
&lt;p&gt;You might be the best in the world at what you do &amp;ndash; but you need to get out there. I enjoy the technical communities, and run the &lt;a href="http://www.sqlserver.org.au/" target="_blank"&gt;Adelaide SQL Server User Group&lt;/a&gt; because I enjoy it. But I can&amp;rsquo;t deny that it&amp;rsquo;s been useful for my career. Now, I&amp;rsquo;m wishing that I had got involved many years ago.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Enjoy public speaking&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;According to the old saying, more people are afraid of public speaking than death (so at a funeral, they&amp;rsquo;d rather be in the coffin than giving the eulogy). But it&amp;rsquo;s a useful skill to have, so learn to enjoy it.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Keep in touch with old friends&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;This isn&amp;rsquo;t quite so career-related, but is actually very important for your career nonetheless.&lt;/p&gt;
&lt;p&gt;There are people that I haven&amp;rsquo;t seen in years, who I have no idea how to contact. Facebook (and the internet in general) has proved very useful for that, but still there are many people that I wish I could find. Most of them are just people I would like to spend time with now and then, but some are people that I&amp;rsquo;d happily offer to do some work for. And perhaps some of them would contact me to do some consulting if they knew how to reach me (clue, there&amp;rsquo;s contact information to the side of my blog site!). &lt;/p&gt;
&lt;p&gt;Far too many people fall out our lives, and it&amp;rsquo;s sad. I&amp;rsquo;m still not great at it, but I do think I should take the time to write people letters now and then (emails, Facebook comments, Instant Messages are all fine too &amp;ndash; I&amp;rsquo;m just talking about touching base to keep the contact there).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Certifications aren&amp;rsquo;t worth studying for (but they are worth taking)&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I used to study for exams. I first became a Microsoft Certified Professional back in 1998, passing an exam called &amp;ldquo;Architecture I&amp;rdquo;. Since then I&amp;rsquo;ve passed over 30 exams, and earned plenty of certifications. But a few years ago I worked out at that it&amp;rsquo;s just not worth studying for these things. &lt;/p&gt;
&lt;p&gt;A MCP exam is not like high school or university. If you fail, you can just try again. Fails don&amp;rsquo;t appear on your transcript, only the passes do. It&amp;rsquo;s like your driving test &amp;ndash; if you fail, you just try again. Once you pass, you get access to the roads like everyone else. &lt;/p&gt;
&lt;p&gt;If you spend weeks studying for a MCP exam, you probably won&amp;rsquo;t even improve your chances of passing &amp;ndash; you&amp;rsquo;ll just be spending precious family time trying to learn those things to get you past the line. You might even start losing sleep over it.&lt;/p&gt;
&lt;p&gt;Nowadays, I tell my students (and myself) to care less. Plenty of people say &amp;ldquo;No, you don&amp;rsquo;t understand &amp;ndash; I can&amp;rsquo;t fail at anything.&amp;rdquo;, and I understand that. I&amp;rsquo;m not particularly good with failure either. But I&amp;rsquo;ve learned to not care so much. I don&amp;rsquo;t want to waste time sitting an exam only find that I fail (or spend $180 on the privilege), but I also don&amp;rsquo;t want to waste time studying for an exam that I could probably pass anyway. With the Second Shot offer that is often around you&amp;rsquo;ve paid for two attempts, so go into the first one blind.&lt;/p&gt;
&lt;p&gt;The amount of time you invest in getting a certification is largely the study time. So if you can reduce that, the certification becomes a lot cheaper &amp;ndash; in which case, it&amp;rsquo;s probably worth taking the few hours to give it a try. If you do fail, you know you have a weak area, so you can improve that with study &amp;ndash; just don&amp;rsquo;t bother studying before the first try. &lt;/p&gt;
&lt;p&gt;[Edited: I should make it very clear that I definitely approve of learning new skills, and preparation for an exam is a great prompt for this learning. Better still is learning for the sake of getting those new skills, with the focus being an upcoming project or new role. My advice above is focussed on people who have the skills necessary to pass an exam.]&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Reading execution plans, and understanding indexes&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve always been good at solving problems with T-SQL (or PL/SQL for that matter) &amp;ndash; I just took to it naturally when I got into databases. But it took me several years to actual venture into understanding what the query is actually doing when it runs. Now, I look at the execution plan for every query I write, as default behaviour, and I consider the indexes that I want up front.&lt;/p&gt;
&lt;p&gt;Perhaps it&amp;rsquo;s because I was a programmer first, but I had always trusted the compiler to do things the right way. I had looked a bit past my code when studying Prolog at university, but it took me a long time to make that my default behaviour. &lt;/p&gt;
&lt;p&gt;So when I find people who are just getting into T-SQL, I encourage them to look at the execution plans, and start getting a feel for what&amp;rsquo;s going on behind the scenes. You can often improve a query without looking at the execution plan, but if you want to write really good T-SQL and have well-performing queries, you need to make the execution plan part of the process.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The significance of BI to businesses&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I was involved in data warehouses in some of my first projects when I left university, I just didn&amp;rsquo;t realise at the time. I first got involved in SQL Server in version 6.0, and quite early on I migrated a system to 6.5, and created a data warehouse to allow for various reports. In hindsight, I was making a data warehouse. I had an ETL process, calculated aggregates, considered the dimensions and granularity, all that. But it wasn&amp;rsquo;t called a data warehouse, and I only realised a few years later that it really was one.&lt;/p&gt;
&lt;p&gt;If I had&amp;rsquo;ve realised, then I&amp;rsquo;m sure I would&amp;rsquo;ve jumped into the BI space much earlier. Companies love BI &amp;ndash; it&amp;rsquo;s one of the most empowering areas of database technology for any business. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve picked a few things here &amp;ndash; and I hope people somehow get some benefit from reading it. I have put it in my &amp;lsquo;must read&amp;rsquo; list to find &lt;a href="http://www.straightpathsql.com/blog/2009/2/13/dear-old-self-read-these-blogs.html" target="_blank"&gt;other people&amp;rsquo;s responses&lt;/a&gt;, because I&amp;rsquo;m sure there are things that I&amp;rsquo;m still to learn.&lt;/p&gt;
&lt;p&gt;Tagging some other people: &lt;a href="http://sqlblogcasts.com/blogs/simons" target="_blank"&gt;Simon Sabin&lt;/a&gt;, &lt;a href="http://blogs.conchango.com/jamiethomson/" target="_blank"&gt;Jamie Thomson&lt;/a&gt;, &lt;a href="http://www.onedotnetway.com/" target="_blank"&gt;Deepak Kapoor&lt;/a&gt;, &lt;a href="http://www.angrykoala.com.au/_blog/Blog" target="_blank"&gt;Grant Paisley&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1678911" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/community/default.aspx">community</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/certification/default.aspx">certification</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/fun/default.aspx">fun</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/professional+development/default.aspx">professional development</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/03/17/things-you-know-now.aspx</feedburner:origLink></item><item><title>Reasons to consider certification</title><link>http://feedproxy.google.com/~r/robfarley/~3/T786ou9wXN4/reasons-to-consider-certification.aspx</link><pubDate>Fri, 27 Feb 2009 07:51:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1674345</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1674345</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/02/27/reasons-to-consider-certification.aspx#comments</comments><description>&lt;p&gt;I saw a link to a report by &lt;a href="http://cid-4da95e660e76de59.skydrive.live.com/self.aspx/Public/TechRepublic%20-%2010%20reasons%20IT%20Cert%20will%20be%20important%20in%202009.pdf?wa=wsignin1.0&amp;amp;sa=525499578" target="_blank"&gt;TechRepublic giving reasons to value certification in 2009&lt;/a&gt;. The idea behind the piece is that we are in a time of economic crisis, cutbacks and the like, and asking the question about whether or not people should be looking for certification or not.&lt;/p&gt;  &lt;p&gt;Most of the points made come down to differentiating yourself from the masses. For individuals I would have to agree. If you are trying to get a job, and are looking for every possible argument to get yourself in the door, certification can’t hurt (don’t expect to beat someone with experience though). But from a company’s perspective, should a company be looking to train employees (and encourage certification)?&lt;/p&gt;  &lt;p&gt;As a trainer, I’m going to flippantly say “Yes, you should send all your staff on training…”&lt;/p&gt;  &lt;p&gt;…but don’t worry – I’m going to try to back it up as well.&lt;/p&gt;  &lt;p&gt;At the moment, almost every company in the world is trying to cut costs. Whole departments are being sacked if they’re not being effective. And one thing that might differentiate your department from the next one could well be the skill level. You need to lift your game to be able to compete at the moment, so why not get your whole department trained up in an area that concerns you. If your team writes software, make sure they’re writing software as well as possible. If your team is in sales, you had better make sure that your salespeople are as good at making that deal as possible. Training can help with this.&lt;/p&gt;  &lt;p&gt;And actually, certification can help too. If there is a certification available in a relevant area, and someone has the time to go and sit the exam, then get them to do it. It rarely costs much, and it will probably help your department if you can say “Our people are getting stronger”, or “Our people are active in professional development”. Not to mention the confidence boost associated with passing an exam, or the added knowledge gained by studying (if required).&lt;/p&gt;  &lt;p&gt;If you’re reading this and thinking “Well my boss doesn’t see it that way…”, why not ask if getting certification might help the department’s viability? If the answer is no, then you’re probably no better off. But if the answer is yes, well… you might get some training and some new skills.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1674345" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/certification/default.aspx">certification</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/professional+development/default.aspx">professional development</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/02/27/reasons-to-consider-certification.aspx</feedburner:origLink></item><item><title>A review – Windows PowerShell Scripting Guide</title><link>http://feedproxy.google.com/~r/robfarley/~3/D8Dy320tlTY/a-review-windows-powershell-scripting-guide.aspx</link><pubDate>Mon, 23 Feb 2009 07:04:27 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1673249</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1673249</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/02/23/a-review-windows-powershell-scripting-guide.aspx#comments</comments><description>&lt;p&gt;As a &lt;a href="http://www.sqlserver.org.au" target="_blank"&gt;User Group&lt;/a&gt; leader, I have the chance to review books for &lt;a href="http://www.mspress.com.au" target="_blank"&gt;MSPress&lt;/a&gt; (and then give a copy away to the user group too!). So at the end of last month I got sent a copy of &lt;a href="http://www.mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=cG93ZXJzaGVsbCBzY3JpcHRpbmcgZ3VpZGU=-RYrQEephJb0=" target="_blank"&gt;Windows PowerShell Scripting Guide, by Ed Wilson&lt;/a&gt; (I hope that link works – if it doesn’t, find it in the Windows section).&lt;/p&gt;  &lt;p&gt;I wasn’t sure what to expect of this book. I had just done a presentation at the user group about PowerShell with SQL Server, and I was curious to see what kinds of things this book covered. People ask me now and then about a book for learning PowerShell, and I wanted to see if this could be the one to recommend.&lt;/p&gt;  &lt;p&gt;As a book for learning PowerShell, I’m not sure that it’s really the best one to grab. I intend to get a look at &lt;a href="http://www.mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=d2luZG93cyBwb3dlcnNoZWxsIHN0ZXA=-r06Att6Y5CQ=" target="_blank"&gt;Microsoft Windows PowerShell Step By Step (also by Ed Wilson)&lt;/a&gt; to see how it compares. But that doesn’t mean that I won’t recommend this book to people.&lt;/p&gt;  &lt;p&gt;What this book does give is a nice overview of PowerShell, followed by a bunch of areas within Windows for which people often do scripting. So for me, this is really handy. I don’t consider myself much of a Windows Administrator, and this book does a nice job of filling in some of the gaps. It’s quite heavy on the &lt;a href="http://msdn.microsoft.com/en-us/library/aa394582.aspx" target="_blank"&gt;WMI&lt;/a&gt; side, but that’s probably fair enough (considering that you really can’t do much in Windows Scripting before wanting to take advantage of WMI). It goes through subjects such as services, shares, logs, networking, user admin, IIS, and more. As someone involved primarily on the SQL side, I’m not sure how much I’m really going to use much of this, but there will definitely be times when I do. Scripts for creating local users and groups will certainly come in handy, as will many others in the book.&lt;/p&gt;  &lt;p&gt;This book also comes with a CD, containing all the scripts that are in the book. It seems like a great resource, which I’m sure I’ll go back to repeatedly. The book is over 650 pages, which will certainly take up space in anyone’s bookshelf, but if you’re a Windows Administrator, or someone who’s just looking to expand their PowerShell ability, then I can thoroughly recommend it.&lt;/p&gt;  &lt;p&gt;If you’re a member of my user group, then you can currently buy this book for 40% less than the price listed at the MSPress store, but as well as that I’ll have a copy of it to give away at the March meeting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1673249" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/powershell/default.aspx">powershell</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/book+review/default.aspx">book review</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/02/23/a-review-windows-powershell-scripting-guide.aspx</feedburner:origLink></item><item><title>A reason to visit Manchester</title><link>http://feedproxy.google.com/~r/robfarley/~3/ZXg2zp1wip8/a-reason-to-visit-manchester.aspx</link><pubDate>Mon, 16 Feb 2009 00:27:58 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1672545</guid><dc:creator>Rob Farley</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1672545</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/02/16/a-reason-to-visit-manchester.aspx#comments</comments><description>&lt;p&gt;I shouldn’t knock Manchester – I’m sure it’s a great place. Being from the London area though, I’ve always had to find reasons to consider visiting Manchester. Now that I’m living in Australia, finding reasons to go is even harder.&lt;/p&gt;  &lt;p&gt;Manchester’s stock has risen recently, joining the ranks of Reading, Birmingham and Hatfield to host a &lt;a href="http://www.sqlbits.com" target="_blank"&gt;SQLBits&lt;/a&gt; conference. Definitely a trip worth making if you’re in the UK. It’s on the last Saturday of March.&lt;/p&gt;  &lt;p&gt;Registrations are now open, so get along to the site and plan to be at this event. One day I’ll end up being in the country on the right day and make it to one of these events.&lt;/p&gt;  &lt;p&gt;The guys behind this event are all good guys, and the content will be very high quality again (and even more sessions - the number of &lt;a href="http://sqlbits.com/information/NewAgenda.aspx" target="_blank"&gt;sessions&lt;/a&gt; has increased by about 50%). The last event had nearly three hundred people attend, and this one event has over three hundred registered so far.&lt;/p&gt;  &lt;p&gt;Lots more information (including registration) at: &lt;a href="http://sqlbits.com"&gt;http://sqlbits.com&lt;/a&gt; – or on &lt;a href="http://sqlblogcasts.com/blogs/simons/" target="_blank"&gt;Simon Sabin’s blog&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1672545" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/community/default.aspx">community</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/02/16/a-reason-to-visit-manchester.aspx</feedburner:origLink></item><item><title>Poorly scheduled downtime</title><link>http://feedproxy.google.com/~r/robfarley/~3/ZKQsPcMmIps/poorly-scheduled-downtime.aspx</link><pubDate>Thu, 05 Feb 2009 02:32:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1669168</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1669168</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/02/05/poorly-scheduled-downtime.aspx#comments</comments><description>&lt;p&gt;Not me… someone else, but it did make me think.&lt;/p&gt;  &lt;p&gt;If you need downtime, you schedule it carefully. If your server needs a reboot for some reason (maybe some patch), then you find an appropriate window in which to place it. Typically this ends up being between 2am and 3am, but working out a time when a backup won’t be interrupted, or when overseas customers need the system to be up, and so on.&lt;/p&gt;  &lt;p&gt;I want to rebuild my laptop soon, but I want to make sure I do it at a time when I have a few days up my sleeve – time when I don’t need my laptop. Turns out that might be this weekend, as I’m going to have a small operation at lunchtime tomorrow (elective surgery, potentially – but hopefully not - involving two bricks). I’m likely to be wanting to rest for a couple of days, so it could be a good opportunity to find the right pile of installation DVDs and do a system rebuild.&lt;/p&gt;  &lt;p&gt;Funnily enough, I was just reading about an instance of &lt;a href="http://www.arsenalnewsreview.co.uk/index.php?mact=News,cntnt01,detail,0&amp;amp;cntnt01articleid=1182&amp;amp;cntnt01origid=30&amp;amp;cntnt01returnid=42" target="_blank"&gt;poorly scheduled downtime&lt;/a&gt; by another company. ITV were showing a 4th round FA Cup match ‘live’ (well, almost) a few hours ago involving one of the oldest rivalries in sport – Everton v Liverpool. There were about three minutes left in the game, which was looking like going to penalties, so they thought they’d sneak in a quick commercial. A bit of ‘downtime’ if you like. Except that during those few seconds away, Everton scored a goal. Already there are articles popping up about the incident, and ITV are looking like idiots. &lt;/p&gt;  &lt;p&gt;Whatever industry you’re in, if you need some downtime, please plan it carefully. Imagine what happens in the ‘worst-case’ scenario. And wish me ‘luck’ tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1669168" width="1" height="1"&gt;</description><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/02/05/poorly-scheduled-downtime.aspx</feedburner:origLink></item><item><title>SQL 2008 Books Online update</title><link>http://feedproxy.google.com/~r/robfarley/~3/BgXFZynF0Pw/sql-2008-books-online-update.aspx</link><pubDate>Tue, 03 Feb 2009 02:23:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1668356</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1668356</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/02/03/sql-2008-books-online-update.aspx#comments</comments><description>&lt;p&gt;I’ve just installed the January 2009 refresh for SQL Server 2008’s Books Online. I’ve only glanced at what’s different (&lt;a title="http://msdn.microsoft.com/en-us/library/dd408738.aspx" href="http://msdn.microsoft.com/en-us/library/dd408738.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd408738.aspx&lt;/a&gt;), but I just love the fact that SQL Books Online is a work in progress. Books Online lets you provide feedback on any page, and that feedback often makes it into an upcoming refresh.&lt;/p&gt;  &lt;p&gt;Of course, the whole of Books Online is available online, but I like to have a local copy, which gives me better access to the Index page. Now, if they gave me an option to run it in a hybrid mode, querying online for updated data, then that could be really neat too – and avoid the need to download the refreshes. But for the time being, get yourself along to &lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en&lt;/a&gt; and grab a copy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1668356" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sql/default.aspx">sql</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/02/03/sql-2008-books-online-update.aspx</feedburner:origLink></item></channel></rss>
