<?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 (a MS Gold Partner consulting firm), Microsoft MVP (SQL Server) 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" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Darryl Burling’s podcast</title><link>http://feedproxy.google.com/~r/robfarley/~3/3XNeATXflEA/darryl-burling-s-podcast.aspx</link><pubDate>Tue, 03 Nov 2009 04:09:03 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1737238</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1737238</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/11/03/darryl-burling-s-podcast.aspx#comments</comments><description>&lt;p&gt;Seems strange to write about this, as NZ Product Manager for SharePoint, SQL Server, BizTalk and Visual Studio &lt;a href="http://burling.co.nz/post/A-sideways-shuffle.aspx" target="_blank"&gt;Darryl Burling&lt;/a&gt; has just announced that he’s leaving the SQL, BizTalk and Visual Studio products, replacing them with Exchange Server and Microsoft Online Services instead.&lt;/p&gt;  &lt;p&gt;A few weeks ago he started a podcast about the areas that interest him, and has done shows interesting shows about SharePoint, SQL and BizTalk so far. He’s even done one about Office Online, which I haven’t checked out yet.&lt;/p&gt;  &lt;p&gt;Darryl comes from a technical background, having moved to the Product Manager role out of the Developer Evangelism team, and was an MVP before joining Microsoft. I think his podcasts reflect this, and it makes them worth a listen.&lt;/p&gt;  &lt;p&gt;The various links to subscribe are on his website, &lt;a href="http://burling.co.nz"&gt;http://burling.co.nz&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1737238" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/podcasts/default.aspx">podcasts</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/11/03/darryl-burling-s-podcast.aspx</feedburner:origLink></item><item><title>Non-Administrators couldn’t log in, and Admins couldn’t Run As Admin</title><link>http://feedproxy.google.com/~r/robfarley/~3/oNjEwOcb-Gc/non-administrators-couldn-t-log-in-and-admins-couldn-t-run-as-admin.aspx</link><pubDate>Sat, 24 Oct 2009 04:28:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734682</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1734682</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/10/24/non-administrators-couldn-t-log-in-and-admins-couldn-t-run-as-admin.aspx#comments</comments><description>&lt;p&gt;One of the Windows 7 machines in my house had a problem recently. Non-admins couldn’t log in, and there was a message saying that the System Event Notification Service wasn’t running. I could log in as admin, but couldn’t escalate to run things as Administrator. The error “The system could not find the environment option that was entered” would appear.&lt;/p&gt;  &lt;p&gt;The standard web searches weren’t my friend, but I eventually found that if I started in Safe Mode, I could run a Command Prompt as Administrator and disable UAC. Then I could log in as me (with admin privileges), and run setup.exe from my Windows 7 disk and do an Upgrade to repair my system.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://superuser.com/questions/58137/system-event-notification-service-doesnt-start-cant-escalate-to-admin" href="http://superuser.com/questions/58137/system-event-notification-service-doesnt-start-cant-escalate-to-admin"&gt;http://superuser.com/questions/58137/system-event-notification-service-doesnt-start-cant-escalate-to-admin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734682" 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/10/24/non-administrators-couldn-t-log-in-and-admins-couldn-t-run-as-admin.aspx</feedburner:origLink></item><item><title>Book review: Windows 7 Inside Out</title><link>http://feedproxy.google.com/~r/robfarley/~3/JGNIIyvA1Yg/book-review-windows-7-inside-out.aspx</link><pubDate>Sat, 24 Oct 2009 04:08:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734680</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1734680</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/10/24/book-review-windows-7-inside-out.aspx#comments</comments><description>&lt;p&gt;Perhaps it’s because I keep finding new things about Windows 7 that I really like... Today’s one was that you can drag the top (or bottom) edge of a window to the edge of a screen and have that window fill the screen vertically, but keeping the left and right edges still (great for when you don’t want it maximised, or docked to the left or right). Another favourite of mine is that you can Shift+Right-click on a file and see “Copy as Path”, which is great when you want to paste the full path into a textbox, or PowerShell, etc. I don’t know if this was available in Vista, but I’ve only noticed it since I’ve been using Windows 7.&lt;/p&gt;  &lt;p&gt;…but anyway, perhaps it’s that, but I thought it might be worthwhile to pick up a book about Windows 7. I ordered &lt;a href="http://mspress.com.au/searchresults.aspx?s=a2V5d29yZA%3d%3d-I7x1ozBkcPY%3d&amp;amp;k=MDczNTYyNjY1MA%3d%3d-bv3%2f1sxyKPc%3d" target="_blank"&gt;Windows 7 Inside Out&lt;/a&gt; (by Ed Bott), and it arrived this week. It’s not short (about 1000 pages), but I flew through it. I guess because I’m already an experienced Windows user, I skimmed a lot of pages. A lot of the features discussed aren’t new, but Windows is such a large technology that it’s good to look through a good reference book, and with Windows 7 having a lot of new features, it was great to be able to go through this book looking for nuggets that I didn’t know.&lt;/p&gt;  &lt;p&gt;And there are plenty of things that I’m just not that interested in. There are sections in this book about IE8, Windows Media Center and Windows Live. It’s not why I picked up the book. They’ll be useful for anyone who borrows the book from me, but I ended up skipping those sections almost completely. I’ll end up going back to them one day maybe. The book comes with an eBook version, which I’ll stick onto my phone and load up when I need it.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://edbott.com/weblog" target="_blank"&gt;Ed&lt;/a&gt; &lt;a href="http://blogs.zdnet.com/bott" target="_blank"&gt;Bott&lt;/a&gt; (the author who I doubt has a brother that shares my given name) is a journalist, and it shows in his writing. I found it easy to read, and the book is full of tip sections. &lt;/p&gt;  &lt;p&gt;So yes, I picked up the tip about dragging the top border from the book. But I found the Copy as Path option myself. Nowadays, I hold Shift down whenever I right-click, just in case there’s an extra option in there I’ll like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734680" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/book+review/default.aspx">book review</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/windows/default.aspx">windows</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/10/24/book-review-windows-7-inside-out.aspx</feedburner:origLink></item><item><title>Book review: Programming Dynamics CRM 4.0</title><link>http://feedproxy.google.com/~r/robfarley/~3/cU-tGtIXaFs/book-review-programming-dynamics-crm-4-0.aspx</link><pubDate>Mon, 19 Oct 2009 07:04:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733294</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1733294</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/10/19/book-review-programming-dynamics-crm-4-0.aspx#comments</comments><description>&lt;p&gt;I don’t consider myself really in the Dynamics CRM space. My area is SQL Server. Currently I’m spending most of my time in the Business Intelligence space, with plenty of stuff with relational databases as well. But that didn’t stop me from picking up a CRM book recently.&lt;/p&gt;  &lt;p&gt;Jim Steiger’s &lt;a href="http://mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=MDczNTYyNTk0OA==-wIhnclUA8bI=" target="_blank"&gt;Programming Dynamics CRM 4.0&lt;/a&gt; was the book in question, and I was pleasantly surprised. It seems to be very comprehensive, and well written as well.&lt;/p&gt;  &lt;p&gt;I can’t say that I tried all the examples – that would be lying, but I do feel that I have a much better understanding of what’s involved in programming against CRM, and that I have a really good resource available in this book.&lt;/p&gt;  &lt;p&gt;I do keep wondering about how much I’m allowed to hack into the database structure with CRM. This book makes it very clear (as do other CRM experts I know) that I shouldn’t, but I keep looking out for a situation that will persuade me to start playing. I’m not talking about massive changes, but small things, like additional indexes for example. This book is likely to persuade me not to dabble, as I want to do things its way. Whilst nothing jumped out at me as being a really good argument not to (although I might’ve missed it somewhere), I felt myself being guided down the proper way of programming CRM, and now think that if this book recommends a particular path, I’m probably going to follow it as closely as possible.&lt;/p&gt;  &lt;p&gt;So now I’m wondering how long it’s going to be before I find myself involved in a CRM project, and wondering whether I’ll consider myself ‘learned’ or not. I still know there is a lot to learn with CRM, but I also know I have one of the best resources out there on my bookshelf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733294" width="1" height="1"&gt;</description><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/10/19/book-review-programming-dynamics-crm-4-0.aspx</feedburner:origLink></item><item><title>A Tripp to Melbourne?</title><link>http://feedproxy.google.com/~r/robfarley/~3/_d7cszaUBrY/a-tripp-to-melbourne.aspx</link><pubDate>Mon, 19 Oct 2009 06:53:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733292</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1733292</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/10/19/a-tripp-to-melbourne.aspx#comments</comments><description>&lt;p&gt;I feel like it’s been a while since I’ve been to Melbourne (although I did pass through the airport there on my way back from &lt;a href="http://msmvps.com/blogs/robfarley/archive/2009/08/27/more-sql-conferences-coming-up-including-sql-bits-and-sql-down-under.aspx" target="_blank"&gt;Wagga&lt;/a&gt;). I don’t know when I’ll be there next, but I have felt tempted to try to get there this week.&lt;/p&gt;  &lt;p&gt;Partly it’s because my mum is about to turn sixty, but also because my friends &lt;a href="http://www.sqlskills.com/blogs/kimberly/" target="_blank"&gt;Kimberly Tripp&lt;/a&gt; and &lt;a href="http://www.sqlskills.com/blogs/paul/" target="_blank"&gt;Paul Randal&lt;/a&gt; are in Australia this week, and speaking at the &lt;a href="http://www.sqlserver.org.au/Events/RegisterMeeting.aspx?EventId=431" target="_blank"&gt;Melbourne SQL Server User Group&lt;/a&gt; tomorrow night.&lt;/p&gt;  &lt;p&gt;I won’t be there, but if you’re going to be in Melbourne, then make sure you register and get yourself there. It’s bound to be quite packed, as these guys are the world experts in their areas – so be early and tell them hi from me!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733292" 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><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/10/19/a-tripp-to-melbourne.aspx</feedburner:origLink></item><item><title>A busy month – a new book, a new car, a new phone</title><link>http://feedproxy.google.com/~r/robfarley/~3/aF2QcAmHV58/a-busy-month-a-new-book-a-new-car-a-new-phone.aspx</link><pubDate>Wed, 30 Sep 2009 12:50:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1728451</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1728451</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/09/30/a-busy-month-a-new-book-a-new-car-a-new-phone.aspx#comments</comments><description>&lt;p&gt;I don&amp;rsquo;t know why Septembers are always busy. This one feels like it&amp;rsquo;s been interesting, and I&amp;rsquo;m not sure life will be the same again.&lt;/p&gt;
&lt;p&gt;But first, some of the biggest news &amp;ndash; the book that I wrote a couple of chapters for is now available for purchase!&lt;/p&gt;
&lt;p&gt;&lt;img height="191" width="154" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/robfarley.metablogapi/4380.nielsen_5F00_cover1501_5F00_514F0B46.jpg" align="left" alt="nielsen_cover150[1]" border="0" title="nielsen_cover150[1]" style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" /&gt; A challenge was put out a while back for SQL MVPs to write a book for charity. Paul Nielsen spearheaded it, and I&amp;rsquo;m pleased to say that there was a massive response. I wrote two chapters, and this week we have had the notice that the book can now be purchased from Manning Press. If you go to &lt;a target="_blank" href="http://www.SQLServerMVPDeepDives.com"&gt;http://www.SQLServerMVPDeepDives.com&lt;/a&gt; you will be able to buy the Early Access Edition, which will get you updated electronic copies as the chapters become available (final layouts, images, etc still appearing). All the royalties for this book go to charity rather than the authors, so buy up! I promise to sign any copy put in front of me, but if you go to the PASS conference in November, you can probably get at least 40 or so of the other authors to sign it instead.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m planning to get a signed copy brought back from the US, and will auction it off to members of the Adelaide SQL Server User Group, giving the money to charity too.&lt;/p&gt;
&lt;p&gt;It feels good to have the book finished!&lt;/p&gt;
&lt;p&gt;September has also busy for a number of reasons. The &lt;a target="_blank" href="http://www.lobsterpot.com.au"&gt;company&lt;/a&gt; is growing nicely, celebrating a year this week, and keeping my time somewhat occupied. We achieved Gold Partner status with Microsoft at the end of August, and are ticking along well. On a more negative note, the winter has taken its toll with flu in the family, which is lousy &amp;ndash; but we also bought a new car (finally got the people mover we&amp;rsquo;ve been promising ourselves). I replaced my old phone with an iPhone (part of me thinks that I&amp;rsquo;ll go back to Windows Mobile next time), and bought my wife one too (plus a DS for her birthday). I feel like we&amp;rsquo;re more gadgety than ever!&lt;/p&gt;
&lt;p&gt;Not to mention TechEd Australia, which was a fun time. &lt;a target="_blank" href="http://www.angrykoala.com.au"&gt;Grant Paisley&lt;/a&gt; surfing at Dreamworld was a sight to behold, and I hope there are photos somewhere! I gave a talk on SQL Azure, which gave me a number of headaches leading up to the conference, finding new things I wanted to mention on a daily basis! I also gave a talk on the danger of scalar functions in SQL Server, which I will be repeating in just over a week at &lt;a target="_blank" href="http://www.sqldownunder.com/"&gt;Wagga&lt;/a&gt;, a couple of days after presenting at the &lt;a target="_blank" href="http://www.awdnug.org"&gt;Albury/Wodonga .Net User Group&lt;/a&gt;. An email arrived about half an hour after my scalar functions talk, saying that someone in the audience had just applied the principles I showed and made some vital queries run thirty times faster! Terrific news I think.&lt;/p&gt;
&lt;p&gt;Bringing another laptop (an HP Mini) home from TechEd has also added to the number of gadgets in the house&amp;hellip; &lt;/p&gt;
&lt;p&gt;Tomorrow I hope to be able to write that I have been awarded MVP status for another year, which will be a tremendous honour. I keep wondering how much longer I&amp;rsquo;ll be able to remain in the company of such a fantastically skilled and helpful crowd. Every time I receive the award I&amp;rsquo;m both humbled and proud, and feel amazingly blessed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1728451" 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/code+camp/default.aspx">code camp</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/teched/default.aspx">teched</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/mvp/default.aspx">mvp</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/09/30/a-busy-month-a-new-book-a-new-car-a-new-phone.aspx</feedburner:origLink></item><item><title>More SQL Conferences coming up, including SQL Bits and SQL Down Under</title><link>http://feedproxy.google.com/~r/robfarley/~3/K6U865Mhals/more-sql-conferences-coming-up-including-sql-bits-and-sql-down-under.aspx</link><pubDate>Thu, 27 Aug 2009 12:06:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1718698</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1718698</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/08/27/more-sql-conferences-coming-up-including-sql-bits-and-sql-down-under.aspx#comments</comments><description>&lt;p&gt;I know I won’t be there, as I’m a million miles away in Australia, but being from the UK myself, I always have an interest in the UK SQL community and in particular, events like SQL Bits.&lt;/p&gt;  &lt;p&gt;This is the fifth &lt;a href="http://www.sqlbits.com/" target="_blank"&gt;SQL Bits conference&lt;/a&gt;, and they keep getting larger and larger. I’ve heard it’s now the largest SQL-focussed event in Europe. It’s going to be in South Wales (&lt;a href="http://www.youtube.com/watch?v=SY-u15WmQBE" target="_blank"&gt;that’s OLD South Wales, not New South Wales&lt;/a&gt;), in November. I’m sure the area is lovely, good beaches ‘n all that… but considering it’s late November in Wales, I think you’ll be going for the SQL content, not the scenery.&lt;/p&gt;  &lt;p&gt;Of course, if you are in New South Wales, then you ought to be thinking slightly earlier, in particular, the second weekend in October. The third &lt;a href="http://www.sqldownunder.com/SDUCodeCamp/tabid/100/Default.aspx" target="_blank"&gt;SQL Code Camp&lt;/a&gt; is being held in Wagga, with many regular speakers (like myself) and quite a few new ones too.&lt;/p&gt;  &lt;p&gt;These two events are clearly the significant SQL events in the last quarter of the year. I’m sure no-one cares about &lt;a href="http://summit2009.sqlpass.org/" target="_blank"&gt;SQL PASS&lt;/a&gt;, after all. (I do wish I was going to this one, but I won’t be. I plan to go one year, but I was in the US that week last year, and I don’t plan to be away from home for two birthdays in a row. Maybe next year. It is the biggest SQL event in the world, with great speakers from everywhere, including many good friends of mine.)&lt;/p&gt;  &lt;p&gt;No matter where you are in the world, there are SQL events that you should be going to. Professional development is really important for your career, and you shouldn’t neglect it. That being said, make sure you find me at &lt;a href="http://www.msteched.com/australia/Public/default.aspx" target="_blank"&gt;TechEd Australia&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1718698" 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/wagga/default.aspx">wagga</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/code+camp/default.aspx">code camp</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+bits/default.aspx">sql bits</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/08/27/more-sql-conferences-coming-up-including-sql-bits-and-sql-down-under.aspx</feedburner:origLink></item><item><title>Still learning…  foreign keys don’t need to reference a primary key</title><link>http://feedproxy.google.com/~r/robfarley/~3/qe6ixnT7aFM/still-learning-foreign-keys-don-t-need-to-reference-a-primary-key.aspx</link><pubDate>Tue, 04 Aug 2009 23:09:15 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1713056</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1713056</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/08/05/still-learning-foreign-keys-don-t-need-to-reference-a-primary-key.aspx#comments</comments><description>&lt;p&gt;…but you should still have a primary key on every table of course.&lt;/p&gt;  &lt;p&gt;It’s just that I only recently discovered that you can have a foreign key that references something else, so long as it’s known to be unique through a unique index / constraint.&lt;/p&gt;  &lt;p&gt;The scripts here demonstrate this in SQL Server 2005 and beyond.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;create table testunique (id int identity(1,1) primary key, otherid int);     &lt;br /&gt;go      &lt;br /&gt;create unique index ixOther on testunique(otherid);      &lt;br /&gt;go      &lt;br /&gt;create table testFK (id int identity(1,1) primary key, someid int)      &lt;br /&gt;go      &lt;br /&gt;alter table testFK add constraint fkTest foreign key (someid) references testunique(otherid)      &lt;br /&gt;go&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And then if I try to drop the ixOther index, I get an error saying: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Msg 3723, Level 16, State 6, Line 1     &lt;br /&gt;An explicit DROP INDEX is not allowed on index &amp;#39;testunique.ixOther&amp;#39;. It is being used for FOREIGN KEY constraint enforcement.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So I guess this is another reason not to blindly remove indexes that aren’t mentioned in sys.dm_db_index_usage_stats&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1713056" 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/08/05/still-learning-foreign-keys-don-t-need-to-reference-a-primary-key.aspx</feedburner:origLink></item><item><title>SSRS: Removing the Navigation link using an Expression</title><link>http://feedproxy.google.com/~r/robfarley/~3/KRjOcg1z3f0/ssrs-removing-the-navigation-link-using-an-expression.aspx</link><pubDate>Tue, 04 Aug 2009 13:22:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1712792</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1712792</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/08/05/ssrs-removing-the-navigation-link-using-an-expression.aspx#comments</comments><description>&lt;p&gt;There are times when you want to have a Navigation property of a textbox (typically providing a link to a URL or other report), but you don’t always want the link to be there. Sometimes you just want it to be an ordinary textbox.&lt;/p&gt;  &lt;p&gt;This particularly applies when you’re using a Matrix, and you don’t want the Subtotal rows to have the navigation links. Previously I’ve &lt;a href="http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx" target="_blank"&gt;blogged about using InScope&lt;/a&gt; to control various properties. But the thing that I hadn’t noticed was how to make the link actually disappear. I could make it point at somewhere less useful (like the current report), but I didn’t want the cursor to change.&lt;/p&gt;  &lt;p&gt;And then my friend (and fellow MVP) &lt;a href="http://stratesql.com" target="_blank"&gt;Jason Strate&lt;/a&gt; told me that if you make the Expression give the result of “Nothing”, then this does the trick.&lt;/p&gt;  &lt;p&gt;So try something like: =iif(inscope(&amp;quot;matrix1_SalesPersonID&amp;quot;), “http://someurl.com”, Nothing)&lt;/p&gt;  &lt;p&gt;Thanks, Jason!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1712792" 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/reporting+services/default.aspx">reporting services</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/08/05/ssrs-removing-the-navigation-link-using-an-expression.aspx</feedburner:origLink></item><item><title>A review: "Learning SQL Server 2008 Reporting Services” by Jayaram Krishnaswamy</title><link>http://feedproxy.google.com/~r/robfarley/~3/dLtXmaAI1jY/a-review-quot-learning-sql-server-2008-reporting-services-by-jayaram-krishnaswamy.aspx</link><pubDate>Sat, 25 Jul 2009 12:19:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1709772</guid><dc:creator>Rob Farley</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1709772</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/25/a-review-quot-learning-sql-server-2008-reporting-services-by-jayaram-krishnaswamy.aspx#comments</comments><description>&lt;p&gt;A while back I got asked if I’d review this book, but as they could only get me a copy in PDF format, it’s taken a while to get to it. Whilst I like having electronic copies of books, I generally prefer to read them in paper form, and just have the electronic copy for reference.&lt;/p&gt;  &lt;p&gt;But anyway – this book calls itself “A step-by-step guide to getting the most of Microsoft SQL Server Reporting Services 2008”. At 536 pages, I remember my first thoughts being that it seemed awfully long for the level that it’s aimed at. However, as I went through it, I found that this was largely down to the sheer number of screenshots. This is great, and particularly for an eBook. It means that someone trying to learn about a particular screen can easily click the “Next Page” button until they see that screen.&lt;/p&gt;  &lt;p&gt;As for whether or not I’d recommend this book to someone learning Reporting Services – well, it depends on your style of learning.&lt;/p&gt;  &lt;p&gt;If you want something deeper, that explains more about the choices you’re making, and the paradigms you should be considering, then maybe this book isn’t for you. &lt;/p&gt;  &lt;p&gt;But if you want to jump into SSRS, looking at example after example, to get a hands-on feel for the product, then this book is great. It feels like labs when you’re reading it, and that’s going to suit a lot of people.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1709772" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/reporting+services/default.aspx">reporting services</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/07/25/a-review-quot-learning-sql-server-2008-reporting-services-by-jayaram-krishnaswamy.aspx</feedburner:origLink></item><item><title>Counting consecutive instances with DENSE_RANK</title><link>http://feedproxy.google.com/~r/robfarley/~3/ounmG1ase0s/counting-consecutive-instances-with-dense-rank.aspx</link><pubDate>Fri, 24 Jul 2009 23:34:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1709227</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1709227</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/25/counting-consecutive-instances-with-dense-rank.aspx#comments</comments><description>&lt;p&gt;It’s hard to think of a practical use for DENSE_RANK(), but here’s one.&lt;/p&gt;  &lt;p&gt;It’s one of the ranking functions that was introduced in SQL Server 2005, along with RANK(), NTILE(n) and the incredibly useful ROW_NUMBER(). But apart from producing reports, it’s quite hard to find genuine uses for some of them.&lt;/p&gt;  &lt;p&gt;Yesterday I answered a question at StackOverflow (first time – I often answer questions at Experts Exchange and on the MSDN Forums, but never at StackOverflow before). It’s at &lt;a title="http://stackoverflow.com/questions/1176011/sql-to-determine-minimum-sequential-days-of-access/1176255#1176255" href="http://stackoverflow.com/questions/1176011/sql-to-determine-minimum-sequential-days-of-access/1176255#1176255"&gt;http://stackoverflow.com/questions/1176011/sql-to-determine-minimum-sequential-days-of-access/1176255#1176255&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The problem is trying to find runs of consecutive days of activity. I solved it using ROW_NUMBER() and the integer value of the day, grouping by the offset between them. When you partition the ROW_NUMBER() by the users, you have a complete solution. It works nicely.&lt;/p&gt;  &lt;p&gt;But if people can have multiple entries in a day, then ROW_NUMBER() doesn’t cut it – the offset would change whenever someone didn’t have exactly one record per day. Of course, there might be logic in place to make sure this never happens, and I hope there would be – but if there isn’t the problem just becomes one for DENSE_RANK().&lt;/p&gt;  &lt;p&gt;You see, DENSE_RANK() won’t go up for ties. If you have two entries on the same day, they’ll be given the same rank. And then the next day will be as if there had only been one the previous day. If you have ten 107ths, the next DENSE_RANK() is 108 (RANK() would give the next value as 117).&lt;/p&gt;  &lt;p&gt;So then my query of:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;with numberedrows as       &lt;br /&gt;(        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; select row_number() over (partition by UserID order by CreationDate) - cast(CreationDate-0.5 as int) as TheOffset, CreationDate, UserID        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; from tablename        &lt;br /&gt;)        &lt;br /&gt;select min(CreationDate), max(CreationDate), count(*) as NumConsecutiveDays, UserID        &lt;br /&gt;from numberedrows        &lt;br /&gt;group by UserID, TheOffset;&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;…becomes:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;with numberedrows as       &lt;br /&gt;(        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; select dense_rank() over (partition by UserID order by cast(CreationDate-0.5 as int)) - cast(CreationDate-0.5 as int) as TheOffset, CreationDate, UserID        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; from tablename        &lt;br /&gt;)        &lt;br /&gt;select min(CreationDate), max(CreationDate), datediff(day, min(CreationDate), max(CreationDate)) + 1 as NumConsecutiveDays, count(*) as NumEntries, UserID        &lt;br /&gt;from numberedrows        &lt;br /&gt;group by UserID, TheOffset;&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Bear in mind that I’m having to truncate the CreationDate here. If the values were stored as an date with no time component, I’d be able to use CreationDate without modification, which lends itself much better to indexing strategies. For this scenario, I’d prefer to have an index on a computed column which was the truncated date.&lt;/p&gt;  &lt;p&gt;So there you go – a practical use for DENSE_RANK().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1709227" 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/07/25/counting-consecutive-instances-with-dense-rank.aspx</feedburner:origLink></item><item><title>Annoying SharePoint error about features and templates</title><link>http://feedproxy.google.com/~r/robfarley/~3/Jx7TSN2yvJo/annoying-sharepoint-error-about-features-and-templates.aspx</link><pubDate>Tue, 21 Jul 2009 07:11:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1704336</guid><dc:creator>Rob Farley</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1704336</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/21/annoying-sharepoint-error-about-features-and-templates.aspx#comments</comments><description>&lt;p&gt;Following a successful installation of SharePoint (WSS) and making a new web application using a content database restored from another server, this annoying error appeared when on one of the sites.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Feature ‘75a0fea7-2d1e-451a-b445-16bc346d78e’ for list template ‘1’ is not installed in this farm. The operation could not be completed.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I say “annoying” because it seemed really hard to fix – hence this blog post.&lt;/p&gt;  &lt;p&gt;By &lt;a href="http://www.bing.com" target="_blank"&gt;Bing&lt;/a&gt;ing for that GUID, I could see that &lt;a href="http://www.thorprojects.com/blog/archive/2007/05/16/list-of-features-with-guids.aspx" target="_blank"&gt;it was related to the BugList template&lt;/a&gt;. That made sense, because the site in question is focussed on that. But I couldn’t see how to get the BugList template working. Being a feature (from the error message), I figured it would help to run SharePoint.exe (the setup program) again, but the only options in there were Repair and Remove, neither of which was looking like helping. Running the “SharePoint Products and Technologies Configuration Wizard” didn’t help either – there was nothing in there about features or templates.&lt;/p&gt;  &lt;p&gt;A colleague pointed me to an &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=5807B5EF-57A1-47CB-8666-78C1363F127D&amp;amp;displaylang=en" target="_blank"&gt;application template download site&lt;/a&gt;, which helped, giving me a bunch of .stp and .wsp files, one of which was BugDatabase.wsp. Not BugList, not Bug Tracking, not Bug Tracker, but Bug Database. I should’ve taken a hint from here, but anyway. &lt;/p&gt;  &lt;p&gt;A bit more Binging (and looking in the readme.txt that came with the download), and I found a page that told me how to install a .wsp file – I needed to use stsadm. But first I needed to install ApplicationTemplateCore.wsp. I wasn’t entirely convinced it was going to be the right solution, but I gave it a try.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\stsadm.exe” –o addsolution –filename e:\AllTemplates\ApplicationTemplateCore.wsp&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;It didn’t work at first, but it turned out that I was copying the command line from a website, and it can’t’ve been recognising one of the spaces. I typed it in myself, and it worked first time.&lt;/p&gt;  &lt;p&gt;There were more instructions on deploying the solution, but it turned out those instructions weren’t quite so useful, because when I went into the Central Administration site, in Operations, Solution Manager, I found that the deployment hadn’t been successful, despite stsadm telling me that it had been. So the next time I had to do this, I just added the solution with stsadm and then went straight to the Solution Manager, because I could deploy it from there.&lt;/p&gt;  &lt;p&gt;In the Solution Manager, you click on the applicationtemplatecore.wsp entry and hit the “Deploy Solution” button. Hopefully it will work for you, as it did for me.&lt;/p&gt;  &lt;p&gt;Terrific! Half way there.&lt;/p&gt;  &lt;p&gt;Now I could do the same for BugDatabase.wsp.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\stsadm.exe” –o addsolution –filename e:\AllTemplates\BugDatabase.wsp&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;..and go into Solution Manager to deploy it.&lt;/p&gt;  &lt;p&gt;Now my site was up. But when I went into the Issues List, that was broken with a similar message, just a different GUID and template number.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Feature ‘60d1e34f-0eb3-4e56-9049-85daabfec68c’ for list template ‘1010’ is not installed in this farm. The operation could not be completed.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I could see this was a feature called pwsissues (thanks again Bing), but I couldn’t see a .wsp file that suggested anything. I hunted around for clues, even came across a discussion at &lt;a href="https://www.wmspug.org/Home/Lists/General%20Discussion/Flat.aspx?RootFolder=%2fHome%2fLists%2fGeneral%20Discussion%2fManage%20Content%20and%20Structure%20Page&amp;amp;FolderCTID=0x0120020095FB0F7F8D668F489E5B6C2DC99DEE8C" target="_blank"&gt;West Michigan SharePoint User Group about it&lt;/a&gt;. It didn’t really help much though, I was still hunting around trying to figure out what I had to do. I felt it should be similar to my previous problem, so in desperation I started adding .wsp files indiscriminately. &lt;/p&gt;  &lt;p&gt;And it worked! I should’ve tried this earlier, remembering that BugDatabase.wsp wasn’t called BugTracking.wsp. To get the Issues Tracking template in, I needed to add (and deploy) the solution called ProjectTrackingWorkspace.wsp.&lt;/p&gt;  &lt;p&gt;Once I had done that, my errors disappeared, and I breathed a big sigh of relief.&lt;/p&gt;  &lt;p&gt;I quite like SharePoint – it’s a very useful tool for many reasons. I guess I just haven’t had quite enough SharePoint _admin_ experience. But now I have a blog post to refer to if I come across this error again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1704336" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/sharepoint/default.aspx">sharepoint</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/21/annoying-sharepoint-error-about-features-and-templates.aspx</feedburner:origLink></item><item><title>A really good book on BI</title><link>http://feedproxy.google.com/~r/robfarley/~3/4qaTuf3ZIyw/a-really-good-book-on-bi.aspx</link><pubDate>Mon, 20 Jul 2009 12:45:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1703473</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1703473</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/20/a-really-good-book-on-bi.aspx#comments</comments><description>&lt;p&gt;Business Intelligence is so much more than the technologies involved. Doing BI well is about delivering the right solution for the client, and being able to plan accordingly, about finding a match between the technologies and the business needs, and about being able to come up with a good design that incorporates not only the data warehouse, but also the OLAP database and client interfaces.&lt;/p&gt;  &lt;p&gt;When I first picked up &lt;a href="http://www.mspress.com.au/searchresults.aspx?s=a2V5d29yZA==-I7x1ozBkcPY=&amp;amp;k=bHlubiBsYW5naXQ=-IgJ4wFhbBik=" target="_blank"&gt;Smart Business Intelligence Solutions with Microsoft SQL Server 2008&lt;/a&gt;, I wasn’t sure what to expect. I didn’t know whether it would be design heavy, or technology heavy. I suspected it would be the latter, but without going deeply enough into the technologies.&lt;/p&gt;  &lt;p&gt;But I was pleasantly surprised. It seems to be heavyweight enough in both design and technology. There are useful sections on every technical aspect of Business Intelligence, including Data Mining, Beginner and Advanced MDX, and more. And yet there are useful sections about BI principles – the kind of things that you come across in books by Kimball.&lt;/p&gt;  &lt;p&gt;I feel like there are an increasing number of really good books about SQL Server, and this is definitely one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1703473" width="1" height="1"&gt;</description><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/07/20/a-really-good-book-on-bi.aspx</feedburner:origLink></item><item><title>Hey Microsoft – let me restrict my network connections better!</title><link>http://feedproxy.google.com/~r/robfarley/~3/sEblnCdz4jc/hey-microsoft-let-me-restrict-my-network-connections-better.aspx</link><pubDate>Sat, 18 Jul 2009 05:59:27 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702727</guid><dc:creator>Rob Farley</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1702727</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/18/hey-microsoft-let-me-restrict-my-network-connections-better.aspx#comments</comments><description>&lt;p&gt;I’m sure you know the feeling… you jump online by tethering to your mobile because you want to check a particular website, and all of a sudden you find your connection is being flooded by a Windows Update, or Live Mesh download, or a Sync Framework thing. Perhaps even Outlook is downloading your Junk Mail folder for you.&lt;/p&gt;  &lt;p&gt;But all you wanted was to check what the weather was – but it’s just cost you a fortune in download fees.&lt;/p&gt;  &lt;p&gt;Situation is that running applications will check for an internet connection, and then take advantage of it – with no consideration about whether it’s going to cost you (per kilobyte!) to use that connection.&lt;/p&gt;  &lt;p&gt;I would love to see a way of configuring my network connections (like how it asks me whether I’m at Home, Public or Work) into a profile, along the lines of:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Anything connect – all my apps can use this&lt;/li&gt;    &lt;li&gt;Sometimes connect – apps need to ask me to use the connection before they do&lt;/li&gt;    &lt;li&gt;Never connect – I would need to explicitly allow an application to use this connection&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;When I connect using an account that’s limited by size, I don’t want Silverlight to download a ton of images, or Windows Update to pull down a Service Pack. But I would be happy for a particular instance of a browser to connect out.&lt;/p&gt;  &lt;p&gt;But when I’m at home, I’m happy for anything to be pulled down.&lt;/p&gt;  &lt;p&gt;I’d probably end up using the “Sometimes connect” option a lot, so that my connection is more ‘available’, even when one of my applications decides to pull a ton of information down – but right now, connectivity is either ON or OFF, and I can’t easily stop applications from using it when it’s ON.&lt;/p&gt;  &lt;p&gt;Please, Microsoft… let me choose this. It’ll help me feel okay about connecting while my applications are open (and not have to quit Skype/Msgr/LiveMesh before I connect).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702727" 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/07/18/hey-microsoft-let-me-restrict-my-network-connections-better.aspx</feedburner:origLink></item><item><title>Four speaking engagements coming up</title><link>http://feedproxy.google.com/~r/robfarley/~3/N2-15S73v-c/four-speaking-engagements-coming-up.aspx</link><pubDate>Thu, 16 Jul 2009 10:55:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702304</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1702304</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/16/four-speaking-engagements-coming-up.aspx#comments</comments><description>&lt;p&gt;I’m just going to list them…&lt;/p&gt;  &lt;p&gt;This Saturday (July 18th), at &lt;a href="http://www.codecampsa.com" target="_blank"&gt;Code Camp SA&lt;/a&gt;. I’m going to be talking about functions in SQL, particularly those that involve BEGIN and END.&lt;/p&gt;  &lt;p&gt;At the end of the month, at the &lt;a href="http://www.acs.org.au/sa/2009conference/" target="_blank"&gt;ACS Branch Conference&lt;/a&gt;. I’m going to be part of a panel discussing Open Source v Closed Source.&lt;/p&gt;  &lt;p&gt;In August, I’m going to be speaking at &lt;a href="http://www.sharepointusers.org.au/Adelaide/" target="_blank"&gt;SharePoint Saturday (Adelaide)&lt;/a&gt;, about the integration of Reporting Services and SharePoint.&lt;/p&gt;  &lt;p&gt;In September, I’m going to be a presenting at &lt;a href="http://www.msteched.com/australia/Public/SessionList.aspx" target="_blank"&gt;TechEd Australia&lt;/a&gt;, about SQL Azure.&lt;/p&gt;  &lt;p&gt;Be nice if there was more of an overlap in topics…&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702304" 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/code+camp/default.aspx">code camp</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/adelaide/default.aspx">adelaide</category><category domain="http://msmvps.com/blogs/robfarley/archive/tags/acs/default.aspx">acs</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/16/four-speaking-engagements-coming-up.aspx</feedburner:origLink></item><item><title>DeepZoom fixoutlook – and a tip on hosting SilverLight</title><link>http://feedproxy.google.com/~r/robfarley/~3/ZpyHv663Q8o/deepzoom-fixoutlook-and-a-tip-on-hosting-silverlight.aspx</link><pubDate>Thu, 16 Jul 2009 10:31:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702299</guid><dc:creator>Rob Farley</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://msmvps.com/blogs/robfarley/rsscomments.aspx?PostID=1702299</wfw:commentRss><comments>http://msmvps.com/blogs/robfarley/archive/2009/07/16/deepzoom-fixoutlook-and-a-tip-on-hosting-silverlight.aspx#comments</comments><description>&lt;p&gt;I haven’t done much SilverLight development – I’ve dabbled at best. And I don’t really count using &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=457B17B7-52BF-4BDA-87A3-FA8A4673F8BF&amp;amp;displaylang=en" target="_blank"&gt;DeepZoom Composer&lt;/a&gt; as proper SilverLight, but it makes a SilverLight application.&lt;/p&gt;  &lt;p&gt;So I’ve got one at &lt;a href="http://www.lobsterpot.com.au/fixoutlook"&gt;http://www.lobsterpot.com.au/fixoutlook&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The background is that there’s a &lt;a href="http://twitter.com/fixoutlook" target="_blank"&gt;group of people&lt;/a&gt; who feel very strongly that Outlook should use proper standards for rendering emails. I understand that Microsoft have made a conscious decision to use Word for rendering emails, but I’m certainly part of the crowd who agree that Microsoft may have got this one wrong. They made a &lt;a href="http://www.email-standards.org/blog/entry/sending-a-final-message-to-microsoft/" target="_blank"&gt;large image&lt;/a&gt;, and I thought this image would made a great candidate for DeepZoom. I dropped Dave a line, and he gave me the go-ahead.&lt;/p&gt;  &lt;p&gt;So have a look around my DeepZoom application, and in particular, zoom in at the top of the “L&amp;#39;’ in the word outlook, to find how much you can zoom in. Look for the white lines, and you’ll see some more zooming opportunity.&lt;/p&gt;  &lt;p&gt;And a big thanks to &lt;a href="http://www.soulsolutions.com.au" target="_blank"&gt;John O’Brien&lt;/a&gt;, for reminding me that when you host a SilverLight application, you need make sure the &lt;a href="http://blogs.technet.com/jorke/archive/2007/09/11/silverlight-mime-types-in-iis6.aspx" target="_blank"&gt;mime types are set appropriately&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702299" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/robfarley/archive/tags/fun/default.aspx">fun</category><feedburner:origLink>http://msmvps.com/blogs/robfarley/archive/2009/07/16/deepzoom-fixoutlook-and-a-tip-on-hosting-silverlight.aspx</feedburner:origLink></item><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>1</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></channel></rss>
