<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3254231911009496543</id><updated>2012-01-16T15:22:24.751-08:00</updated><category term='Women in Technology'/><category term='Database Corruption'/><category term='Telecommuting'/><category term='Computers'/><category term='SQL'/><category term='Technology'/><category term='Organizing'/><category term='Technologh'/><category term='WIT'/><category term='Life Balance'/><category term='Un-SQL Friday'/><category term='sewing'/><category term='TSQL2sday'/><category term='Goats'/><category term='SQL PASS'/><category term='Windows 7'/><title type='text'>Lady Runa - SQL Stitcher</title><subtitle type='html'>SQL DBA by day; Seamstress by Night</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-454967247877453254</id><published>2012-01-16T15:09:00.001-08:00</published><updated>2012-01-16T15:22:24.832-08:00</updated><title type='text'>January #Meme15 Assignment</title><content type='html'>&lt;p&gt;&amp;lt;*Cough* *Cough*&amp;gt; It’s awfully dusty here, isn’t it? Yeah, I’ve been neglecting my blog. Terribly sorry about that…. Well, nothing like trying to get things going again at the start of a new year. Hopefully this year I’ll be more consistent about posting (and not quit half-way through the year) &lt;/p&gt; &lt;h3&gt;#Meme15 Assignment #2&lt;/h3&gt; &lt;p&gt;The #Meme15 is a meme started by a group of people in the #SQLFamily who wanted to&lt;a href="http://lh4.ggpht.com/-7_2LyVALjO8/TxSuMR_eCfI/AAAAAAAAAK0/lqMGvj7US9o/s1600-h/meme15new%25255B2%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="meme15new" border="0" alt="meme15new" align="right" src="http://lh3.ggpht.com/-SfB6HXHf3Wo/TxSuM0ePKuI/AAAAAAAAAK8/tCIOCQ_klI0/meme15new_thumb.png?imgmax=800" width="154" height="154"&gt;&lt;/a&gt; discuss how they use Social Networks to enhance their careers and professional development. &lt;/p&gt; &lt;p&gt;The assignment for this month was posted on Jason Strate’s &lt;a href="http://www.jasonstrate.com/2012/01/january-meme15-assignment/" target="_blank"&gt;blog&lt;/a&gt; – talk about Twitter, answering “Why should average Jane or Joe professional consider using Twitter?” and “What benefit have you seen in your career because of Twitter?“&lt;/p&gt; &lt;p&gt;Let’s get started.  &lt;p&gt;&amp;nbsp; &lt;h3&gt;Why should average Jane or Joe professional consider using Twitter?&lt;/h3&gt; &lt;p&gt;&lt;a title="From The Oatmeal" href="http://theoatmeal.com/comics/twitter_stop"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="From the Oatmeal" border="0" alt="From the Oatmeal - click photo to go to source" align="left" src="http://lh5.ggpht.com/-T_IjVYe0GjE/TxSxLwUduWI/AAAAAAAAALM/S2rJsoscLQY/twittergoat6%25255B2%25255D.png?imgmax=800" width="235" height="206"&gt;&lt;/a&gt;That’s exactly what I wondered when I first heard about Twitter – why bother slogging through countless random postings about useless things written by strangers who have too much spare time on their hands? I really don’t need to know that you’re taking your goat for a walk or that you ate sushi last night. Besides, I likely already saw your post on Facebook, Linked In and Google+ on exactly the same thing. Sounds like a major time waster, right?&lt;/p&gt; &lt;p&gt;If that’s all there was to it, then it would probably have gone the way of the 8-track tape within a few months. But thankfully, following people on Twitter can offer far greater benefits, as I discovered at the 2009 SQL PASS Summit conference. About halfway though the first day, I found out that the majority of the SQL people I really admired were all using Twitter as their main means of keeping in touch with other SQL professionals. And they weren’t tweeting useless stuff – they were posting announcements of new blog posts, links to articles about SQL, free online training, and other SQL-related items. &lt;/p&gt; &lt;p&gt;For SQL server professionals, Twitter definitely has benefits – just follow all of the awesome SQL gurus and the #SQLHelp and #SQLPass hashtags. For other professionals, it may or may not be helpful – it all depends upon whether other professions have a significant number of people tweeting about their profession.&lt;/p&gt; &lt;h3&gt;What benefit have you seen in your career because of Twitter?&lt;/h3&gt; &lt;p&gt;I’ve used the #SQLHelp hashtag several times to ask SQL-related questions and have received answers so quickly from SQL experts that it felt like they were right there with me helping me along. &lt;/p&gt; &lt;p&gt;From Twitter, I’ve also been able to find out about free online webinars and more SQL articles and blogs than what I have time to read in a day. Without Twitter, it would likely have taken me far longer to find the same information – or I would’ve completely missed seeing the information at all.&lt;/p&gt; &lt;p&gt;Finally, the most important benefit of chatting on Twitter with all of these SQL professionals is that when I attend a SQL conference these people actually know me by name – which has made networking so much easier.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-454967247877453254?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/454967247877453254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2012/01/january-meme15-assignment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/454967247877453254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/454967247877453254'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2012/01/january-meme15-assignment.html' title='January #Meme15 Assignment'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-SfB6HXHf3Wo/TxSuM0ePKuI/AAAAAAAAAK8/tCIOCQ_klI0/s72-c/meme15new_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-2797694041705602954</id><published>2011-07-29T11:08:00.001-07:00</published><updated>2011-07-29T11:08:24.254-07:00</updated><title type='text'>Are Your Database Statistics Fresh?</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div style="line-height: normal" class="WordSection1"&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;SQL maintains a vast amount of data – or statistics – about the content of each object in a database. The statistics can become stale if they have not been updated very often, or if a large number of changes have occurred within the database. As the statistics become less useful, the time for running queries can increase dramatically. &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;In Production systems, statistics should be updated during the usual maintenance window to ensure that the metadata is fresh. &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;To see how fresh the statistics are for one object, run:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DBCC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;SHOW_STATISTICS &lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff0000"&gt;'CCAuditSessionType'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;CCAuditSessionType_PK&lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: ; color: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;If you need to see the statistics for all databases, run this instead:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;STATS_DATE&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;o&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;s&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;stats_id&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; StatsDate&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;o&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TableName&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; s&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; StatsName&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; auto_created&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; user_created&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; no_recompute&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#008000"&gt;stats&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; s&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;join&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#008000"&gt;objects&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; o &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;on&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; s&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;o&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;where&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; o&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;type&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'U'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: ; color: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;To update statistics that are out of date, execute the command &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;exec&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#800000"&gt;sp_updatestats&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;on each database on the server that needs to have its statistics updated. &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 13pt; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 13pt"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;Use the following query to generate a script to update the statistics on all databases&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;declare&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @db &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;varchar&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;30&lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbID &lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @sql &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;varchar&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;max&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: ; color: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;create&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;table&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; #t&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;DbName &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;varchar&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;30&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; databaseID &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: ; color: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;Insert&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; #t&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;DbName&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; databaseID&lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; [name]&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; database_id&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;databases&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;where&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; database_id &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 4&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;Select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbID &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;MIN&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;databaseID&lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; #t&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;While&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbID &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;is&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;not&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;NULL&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;BEGIN&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp; select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @db&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;DbName&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; #t &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;a href="mailto:databaseID=@dbID"&gt;databaseID&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@dbID&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp; set&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @sql &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff0000"&gt;'Use ['&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; @db &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff0000"&gt;']'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;CHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;13&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff0000"&gt;'go '&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;CHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;13&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp; set&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @sql &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; @sql &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#ff0000"&gt;'exec sp_updatestats'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;CHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;13&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'go '&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp; PRINT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; @sql&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font color="#000000" size="2" face="Courier New"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp; Select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbID&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#ff00ff"&gt;min&lt;/font&gt;&lt;/span&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;databaseID&lt;/font&gt;&lt;/font&gt;&lt;span style="color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; #t &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Courier New"&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; databaseID&lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#808080"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@dbID&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;END&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font color="#000000" size="2" face="Courier New"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; color: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;drop&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: "&gt;&lt;font color="#0000ff"&gt;table&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; #t&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt; text-autospace: " class="MsoNormal"&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: " lang="EN-GB"&gt;&lt;font style="font-size: 9pt" color="#000000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt; &lt;p&gt;Copy and paste the printed output from your result set into the query portion of a SQL Server Agent job and this will ensure that the statistics are updated for all databases on a regular schedule. NOTE: the query above excludes the system databases.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-2797694041705602954?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/2797694041705602954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/07/are-your-database-statistics-fresh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2797694041705602954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2797694041705602954'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/07/are-your-database-statistics-fresh.html' title='Are Your Database Statistics Fresh?'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-6113059833598071952</id><published>2011-07-14T18:36:00.001-07:00</published><updated>2011-07-14T18:36:39.202-07:00</updated><title type='text'>Adventures with Denali CTP3–Part 1</title><content type='html'>&lt;p&gt;I usually only realize how slow downloads can be when I’m eager to begin working with the item being downloaded. The hour it took to download the AdventureWorks sample databases felt far longer than it actually was.&lt;/p&gt; &lt;p&gt;One thing that surprised me was that the downloads for the databases were only the MDF (data) file – the log file was not included. After fiddling unsuccessfully with attaching it using the UI in Management Studio (no, I didn’t think of deleting the log file name from the file list in the UI – I’d assumed it was required and didn’t realize that if you did not list a logfile that it automatically treated it as an ATTACH_REBUILD_LOG command), I finally decided that it would be sensible to actually read the instructions. Technet provided me a &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-server-samples-readme.aspx#Readme_for_Adventure_Works_Sample_Databases"&gt;very simple query&lt;/a&gt; to attach the database&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;CREATE DATABASE&lt;/font&gt; &lt;font color="#008000"&gt;AdventureWorks2008R2&lt;/font&gt; &lt;font color="#0000ff"&gt;ON&lt;/font&gt; (&lt;font color="#0000ff"&gt;FILENAME&lt;/font&gt; = &lt;font color="#ff0000"&gt;'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\AdventureWorks2008R2_Data.mdf'&lt;/font&gt;) &lt;font color="#0000ff"&gt;FOR ATTACH_REBUILD_LOG&lt;/font&gt; ;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Worked like a charm. &lt;/p&gt; &lt;p&gt;I modified the query and attached the AdventureWorksDWDenali database in a similar manner then ran a few quick SELECT queries on various tables to see what they contained. I was pleasantly surprised to see that the OLAP database’s dimDate table contained English, French and Spanish day and month names.&lt;/p&gt; &lt;p&gt;I then launched the BI Development Studio and opened the AdventureWorksDWMultidimensionalDenali project (provided in &lt;a href="http://msftdbprodsamples.codeplex.com/releases/view/55330"&gt;samples pages on Codeplex&lt;/a&gt;). I verified the connection information in the datasource and successfully deployed the cube.&lt;/p&gt; &lt;p&gt;If everyone knew how easy this was, I’d probably be out of a job. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-6113059833598071952?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/6113059833598071952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/07/adventures-with-denali-ctp3part-1.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6113059833598071952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6113059833598071952'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/07/adventures-with-denali-ctp3part-1.html' title='Adventures with Denali CTP3–Part 1'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-2599460954065956552</id><published>2011-07-14T15:56:00.001-07:00</published><updated>2011-07-14T15:56:52.372-07:00</updated><title type='text'>Query to Pull Database File Information</title><content type='html'>&lt;p&gt;&lt;font color="#000000" size="2"&gt;This query will list the name, size and location of all files for all databases. This is handy for checking and documenting database server configuration to confirm whether the server follows our recommended best practices.&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;set&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;nocount&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;on&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;declare&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;@sql &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;max&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; @sql2 &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;max&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; @name &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;100&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;if&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;object_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;'tempdb..#t'&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;is&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;not&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;null&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;drop&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;table&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; #t&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;create&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;table&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; #t&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;DbName &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;30&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; LogicalName &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;30&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;FileName&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;varchar&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;100&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; sizeMB &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; UsedSpaceMB &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; growthMB &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;int&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; is_percent_growth &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;bit&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;set&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;@sql &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;' substring(name,1,30) as LogicalName,substring(physical_name,1,75) as FileName,'&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;set&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;@sql &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; @sql &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;+&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;'size * 8192./1024/1024 as SizeMB,sum(a.total_pages * 8192./1024/1024 ) as UsedSpaceMB, '&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;set&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;@sql &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; @sql &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;+&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;'growth * 8192./1024/1024 as growthMB, is_percent_growth from '&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;declare&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;c &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;cursor&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;for&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;select&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;name &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#008000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;sys&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;databases&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;where&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; database_id &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; 4&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;open&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;c&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;fetch&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;next&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; c &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;into&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; @name&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;while&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;@@fetch_status&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;0&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;begin&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;set&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;font color="#000000"&gt; @sql &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; @name &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#ff0000"&gt;'.sys.database_files df left join '&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;set&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; @name &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#ff0000"&gt;'.sys.allocation_units a on df.data_space_id=a.data_space_id left join '&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;set&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; @name &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#ff0000"&gt;'.sys.partitions p on p.partition_id = a.container_id '&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;set&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#ff0000"&gt;'group by df.name, df.physical_name, growth, is_percent_growth, df.size'&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;begin&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;try&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;exec &lt;/font&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;font color="#ff0000"&gt;'insert #t select '''&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; @name &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#ff0000"&gt;''' as DbName, '&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;font color="#000000"&gt; @sql2 &lt;/font&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;end&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;try&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;begin&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;catch&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;end&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;fetch&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;next&lt;/font&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#0000ff"&gt;from&lt;/font&gt;&lt;font color="#000000"&gt; c &lt;/font&gt;&lt;font color="#0000ff"&gt;into&lt;/font&gt;&lt;font color="#000000"&gt; @name&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;end&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;close&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;c&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;deallocate&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;c&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;select&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;*&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt; #t&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="line-height: normal; margin-bottom: 0.08in"&gt;&lt;br&gt;&lt;br&gt;I’m sure that there are other ways to pull this data, however, in some environments your permissions may restrict you from using any method other than this to pull the data. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-2599460954065956552?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/2599460954065956552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/07/query-to-pull-database-file-information.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2599460954065956552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2599460954065956552'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/07/query-to-pull-database-file-information.html' title='Query to Pull Database File Information'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-5502630522388639219</id><published>2011-07-12T14:58:00.000-07:00</published><updated>2011-07-14T07:58:57.482-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SQL Recovery Mode Adjustment</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Often when new Development boxes are handed over to my group, the databases are set to Recovery Mode = FULL because the setting match production recovery modes. Unfortunately, since the Dev boxes rarely have any backups running, eventually the transaction logs fill up the drive. When that happens, the databases can no longer accept new transactions and we are left with a (temporarily) non-functional box.&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Run this script on a Dev box to set the recovery to SIMPLE for all databases to avoid the above scenario. It works on SQL 2000, 2005 and 2008 SQL servers. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;NOTE: it is recommended that PRODUCTION servers use FULL recovery mode rather than SIMPLE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;use master&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;go&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @Database &lt;span style="color: blue;"&gt;VARCHAR&lt;/span&gt;(255) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @Table &lt;span style="color: blue;"&gt;VARCHAR&lt;/span&gt;(255) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @cmd &lt;span style="color: blue;"&gt;NVARCHAR&lt;/span&gt;(500) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; DatabaseCursor &lt;span style="color: blue;"&gt;CURSOR FOR &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt; name &lt;span style="color: blue;"&gt;FROM&lt;/span&gt; &lt;span style="color: blue;"&gt;master&lt;/span&gt;.dbo.&lt;span style="color: #38761d;"&gt;sysdatabases&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;where&lt;/span&gt; Name not in (&lt;span style="color: red;"&gt;'tempdb'&lt;/span&gt;) &lt;span style="color: #38761d;"&gt;-- cannot set recovery for Tempdb.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;ORDER BY&lt;/span&gt; 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;OPEN&lt;/span&gt; DatabaseCursor &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="background-color: white; color: blue;"&gt;FETCH NEXT FROM&lt;/span&gt; DatabaseCursor &lt;span style="color: blue;"&gt;INTO&lt;/span&gt; @Database &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;WHILE&lt;/span&gt; &lt;span style="color: magenta;"&gt;@@FETCH_STATUS&lt;/span&gt; = 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;BEGIN&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;set&lt;/span&gt; @cmd = &lt;span style="color: red;"&gt;'ALTER DATABASE '&lt;/span&gt; + @database +&lt;span style="color: red;"&gt;'&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: red;"&gt;&amp;nbsp; SET RECOVERY SIMPLE'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;EXECUTE&lt;/span&gt; &lt;span style="color: #990000;"&gt;sp_executesql&lt;/span&gt; @statement=@cmd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;FETCH NEXT FROM&lt;/span&gt; DatabaseCursor &lt;span style="color: blue;"&gt;INTO&lt;/span&gt; @Database &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;END&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;CLOSE&lt;/span&gt; DatabaseCursor &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="color: blue;"&gt;DEALLOCATE&lt;/span&gt; DatabaseCursor &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;For your homework, you can substitute a WHILE loop for the cursor.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;If your environment is running mostly SQL 2008 (or higher), please check out SQLChicken's article on setting up&lt;a href="http://sqlchicken.com/2011/07/make-it-simple-with-policy-based-management/"&gt; Policy Based management&lt;/a&gt; to handle ensuring that the dev boxes are all set to Simple Recovery Mode. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-5502630522388639219?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/5502630522388639219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/07/sql-recovery-mode-adjustment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5502630522388639219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5502630522388639219'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/07/sql-recovery-mode-adjustment.html' title='SQL Recovery Mode Adjustment'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-5999375341973169705</id><published>2011-05-02T10:35:00.000-07:00</published><updated>2011-05-02T10:36:47.194-07:00</updated><title type='text'>Meme Monday: I Got 99 SQL Problems And the Disk Ain’t One</title><content type='html'>This month, Thomas Larock (&lt;a href="http://thomaslarock.com/ "&gt;Website&lt;/a&gt;| &lt;a href="http://twitter.com/sqlrockstar"&gt; Twitter &lt;/a&gt;) declared a meme Monday inspired by the Hugo song &lt;a href="http://www.youtube.com/watch?v=nmy113gMds0"&gt;99 Problems &lt;/a&gt;- aside from disk issues, name 9 problems you frequently see in your shop which are not related to disk issues. &lt;br /&gt;&lt;br /&gt;1) Using default install settings for file growth &lt;br /&gt;Despite numerous examples from live systems showing that those settings are not appropriate for our product's databases, we frequently see new customers with all their databases set to the default 10% growth setting, despite the statement in the "best practices" documentation that tells them otherwise. &lt;br /&gt;&lt;br /&gt;2) Bloated SQL error logs&lt;br /&gt;Many times when customers report having issues and we're called in to examine what's happening with their SQL server, we find that we can't open the SQL Error Logs because the customer's SQL server hasn't been restarted in a long time and the errorlog is so bloated that it's too big for the UI to open in a timely manner. The simple fix, of course, is to set up a SQL job that runs sp_cycle_errorlog periodically.&lt;br /&gt;&lt;br /&gt;3) Not doing ANY index maintenance&lt;br /&gt;Frequently, when I hear about SQL performance issues, I find that the customer has turned off the regular index maintenance jobs "because they take too long". Eventually, this results in painfully out of date statistics, severely fragmented indices and terrible performance. &lt;br /&gt;&lt;br /&gt;4) Shrinking databases as "maintenance" to "free up disk space"&lt;br /&gt;I try my best not to use profanity or to scream (loudly) when I see this enabled on customer servers. I just take a deep breath and forward the following links to the guilty party:&lt;br /&gt;Paul Randal: &lt;a href="http://www.sqlskills.com/BLOGS/PAUL/post/Why-you-should-not-shrink-your-data-files.aspx"&gt;Why You Should Not Shrink your Data Files &lt;/a&gt;&lt;br /&gt;Brent Ozar: &lt;a href="http://www.brentozar.com/archive/2009/08/stop-shrinking-your-database-files-seriously-now/"&gt;Stop Shrinking Your Database Files. Seriously. Now.&lt;/a&gt;  &lt;br /&gt;&lt;br /&gt;5) Developers "testing" code on production&lt;br /&gt;Don't get me started....&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-xsTxtcx5DKY/Tb7qd5-a2wI/AAAAAAAAAEg/Q3rrcOFVeJE/s1600/bang%2Bhead%2Bhere.bmp" imageanchor="1" style="clear:right; float:right; margin-left:1em; margin-bottom:1em"&gt;&lt;img border="0" height="320" width="208" src="http://2.bp.blogspot.com/-xsTxtcx5DKY/Tb7qd5-a2wI/AAAAAAAAAEg/Q3rrcOFVeJE/s320/bang%2Bhead%2Bhere.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;6) Poor backup plans not even close to SLA requirements&lt;br /&gt;High volume OLTP Production database, full recovery with log backup once a day at midnight and full backup once a day at 1AM - but their SLAs say they have to completely recover from failure within one hour. They claim that because the SQL server is clustered, that they don't have to back up the databases more often. Really? Please don't call me when things go south.&lt;br /&gt;&lt;br /&gt;7) No disaster recovery plan&lt;br /&gt;... And office in the middle of Tornado alley. Again, please don't call me to resurrect your SQL server when your data center gets destroyed by one of the 500+ tornadoes that went through town. You don't have a copy elsewhere and I can't create something from nothing.&lt;br /&gt;&lt;br /&gt;8) Letting idiots have access to the Server room&lt;br /&gt;Believe me: I can't make this one up - it actually DID happen.&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-1CgKqaNXKRw/Tb7qvwxFUoI/AAAAAAAAAEo/m87r6YmeqqY/s1600/turkey1.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"&gt;&lt;img border="0" height="320" width="240" src="http://1.bp.blogspot.com/-1CgKqaNXKRw/Tb7qvwxFUoI/AAAAAAAAAEo/m87r6YmeqqY/s320/turkey1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;A particular person on the night cleaning crew entered a server room to vacuum it. Because the vacuum's cord was too short to allow him to vacuum the far side of the server room, he unplugged something to free up an outlet so he could vacuum the far corner of the server room. The "something" he unplugged was the main power for the SQL server, which knocked out the customer's website until someone entered the server room in the  morning and noticed that the server was unplugged.&lt;br /&gt;&lt;br /&gt;9) Not having automated monitoring on servers&lt;br /&gt;You'd think this was obvious, but I've been called too many times to count late at night to hear that someone's server is "down", only to find out the reason the SQL server crashed or the backups failed was because the disk was full. Automated disk monitoring systems have been around for over a decade, yet many of our customers don't have any automated monitoring and I doubt that their IT people check the servers every day since they seem so surprised to discover that their disk has filled up completely. &lt;br /&gt;&lt;br /&gt;After just thinking about those 9 items, it's time for a stress pill.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-5999375341973169705?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/5999375341973169705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/05/meme-monday-i-got-99-sql-problems-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5999375341973169705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5999375341973169705'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/05/meme-monday-i-got-99-sql-problems-and.html' title='Meme Monday: I Got 99 SQL Problems And the Disk Ain’t One'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-xsTxtcx5DKY/Tb7qd5-a2wI/AAAAAAAAAEg/Q3rrcOFVeJE/s72-c/bang%2Bhead%2Bhere.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-7121585011189728830</id><published>2011-04-25T12:31:00.000-07:00</published><updated>2011-04-25T12:31:46.095-07:00</updated><title type='text'>SQLRally - Birds of a Feather</title><content type='html'>Earlier today, Jorge Segarra (&lt;a href="http://twitter.com/#!/SQLChicken"&gt;twitter&lt;/a&gt;) sent via twitter a request for volunteers to head up Birds of a Feather tables at &lt;a href="http://www.sqlrally.com"&gt;SQL Rally&lt;/a&gt;. I asked him if he had someone to head up a PASS WIT table. &lt;br /&gt;&lt;br /&gt;He replied, "@LadyRuna if you're volunteering, you could host it :-D #sqlWIT #sqlRally"&lt;br /&gt;&lt;br /&gt;So it looks like I'm hosting the WIT table at the Birds of a Feather event at SQL Rally. Please stop by and say hello if you're there. I've never run one of these before and I'll be making things up as I go along. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-f-J-XY8iY3Q/TbXLpVp7mqI/AAAAAAAAAEQ/BpMvRhYNQe4/s1600/SQL_Rally_Button-2.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"&gt;&lt;img border="0" height="180" width="180" src="http://4.bp.blogspot.com/-f-J-XY8iY3Q/TbXLpVp7mqI/AAAAAAAAAEQ/BpMvRhYNQe4/s320/SQL_Rally_Button-2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-7121585011189728830?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/7121585011189728830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/04/sqlrally-birds-of-feather.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/7121585011189728830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/7121585011189728830'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/04/sqlrally-birds-of-feather.html' title='SQLRally - Birds of a Feather'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-f-J-XY8iY3Q/TbXLpVp7mqI/AAAAAAAAAEQ/BpMvRhYNQe4/s72-c/SQL_Rally_Button-2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-8477215660838770045</id><published>2011-04-21T08:11:00.001-07:00</published><updated>2011-04-21T08:11:17.171-07:00</updated><title type='text'>Hooray for Wonderful Husbands</title><content type='html'>&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_-OxZGzbaD0A/TbBI_mBZ_0I/AAAAAAAAADs/aHXG0Cky_Ow/s1600-h/davinci%5B4%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="davinci" border="0" alt="davinci" align="left" src="http://lh6.ggpht.com/_-OxZGzbaD0A/TbBJABTxorI/AAAAAAAAADw/wx0jLu0LmJY/davinci_thumb%5B2%5D.png?imgmax=800" width="133" height="157"&gt;&lt;/a&gt;I was talking to my boss yesterday about my&lt;a href="http://lh4.ggpht.com/_-OxZGzbaD0A/TbBJCrWxbMI/AAAAAAAAAD0/Uik33gtpKe4/s1600-h/sackboy_grabinators%5B5%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="sackboy_grabinators" border="0" alt="sackboy_grabinators" align="right" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TbBJC6RrcGI/AAAAAAAAAD4/yTk__coY3Ko/sackboy_grabinators_thumb%5B3%5D.png?imgmax=800" width="141" height="162"&gt;&lt;/a&gt; professional development plan for this year, and the subject of training came up. He said we only had enough money in the budget to send one person to a conference this year, and since I’d attended &lt;a href="http://www.sqlpass.org/summit/2011/" target="_blank"&gt;SQL PASS Summit&lt;/a&gt; last year, they were going to send my coworker this time – meaning I wasn’t eligible to attend any offsite training at all. He suggested I find some books to read to fulfill my professional development plan.&lt;/p&gt;     &lt;p&gt;Needless to say, I was not at all thrilled, and mentioned it to my darling husband.&lt;/p&gt;   &lt;p&gt;He, too, was unimpressed. He knew how important and useful attending SQL PASS Summit had been for me. &lt;/p&gt; &lt;p&gt;Over dinner, he casually asked me, “&lt;em&gt;Do you think you can take time off from work the second week of May?&lt;/em&gt;”&lt;/p&gt; &lt;p&gt;I checked my calendar – I was not scheduled to be on call, so I could take time off.&lt;/p&gt; &lt;p&gt;I replied, “&lt;em&gt;Sure. Why?&lt;/em&gt;”&lt;/p&gt; &lt;p&gt;He held my hand and said, “&lt;em&gt;There’s this PASS SQLRally thing in Orlando that week. We have enough vacation money saved up to send you.&lt;/em&gt;”&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TbBJDVt_cQI/AAAAAAAAAD8/fHI2B3D_DtE/s1600-h/LOVE%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="LOVE" border="0" alt="LOVE" src="http://lh4.ggpht.com/_-OxZGzbaD0A/TbBJD3ZAY0I/AAAAAAAAAEA/VXJmWKpJlWY/LOVE_thumb%5B1%5D.jpg?imgmax=800" width="328" height="212"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;(Queue romantic music and sappy romantic scene….) &lt;/p&gt; &lt;p&gt;Ok, get your mind out of the gutter… The final result is: I’m going to &lt;a href="http://www.sqlpass.org/sqlrally/2011/orlando/" target="_blank"&gt;PASS SQLRally&lt;/a&gt; and even get to attend one of the Pre-con classes. Hooray for wonderful, amazingly loving husbands! I certainly picked the BEST husband in the world. See you at PASS SQLRally!&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.sqlpass.org/sqlrally/2011/orlando/"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="SQL_Rally_Button-1" border="0" alt="SQL_Rally_Button-1" src="http://lh4.ggpht.com/_-OxZGzbaD0A/TbBJEAoLYuI/AAAAAAAAAEE/6EMEXVBs2T4/SQL_Rally_Button-1%5B4%5D.jpg?imgmax=800" width="239" height="246"&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TbBJEqvOg-I/AAAAAAAAAEI/dqvoPiOopJw/s1600-h/aviatrix1%5B2%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="aviatrix1" border="0" alt="aviatrix1" src="http://lh5.ggpht.com/_-OxZGzbaD0A/TbBJFLNssaI/AAAAAAAAAEM/O0QZwPI9ins/aviatrix1_thumb.jpg?imgmax=800" width="191" height="244"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-8477215660838770045?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/8477215660838770045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/04/hooray-for-wonderful-husbands.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8477215660838770045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8477215660838770045'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/04/hooray-for-wonderful-husbands.html' title='Hooray for Wonderful Husbands'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_-OxZGzbaD0A/TbBJABTxorI/AAAAAAAAADw/wx0jLu0LmJY/s72-c/davinci_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-5149876904821188602</id><published>2011-04-04T12:46:00.000-07:00</published><updated>2011-04-04T12:46:37.964-07:00</updated><title type='text'>Meme Monday #1</title><content type='html'>Today I received my first promotion - I'm now a Senior DBA!&lt;br /&gt;&lt;br /&gt;What's "Meme Monday", you ask? See Thomas LaRock's (&lt;a href="http://thomaslarock.com/" &gt;Blog&lt;/a&gt; | &lt;a href="http://twitter.com/#!/sqlrockstar" &gt;Twitter&lt;/a&gt;) &lt;a href="http://thomaslarock.com/2011/04/welcome-to-meme-monday/" &gt;Meme Monday&lt;/a&gt; challenge to the SQL blogosphere&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-5149876904821188602?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/5149876904821188602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/04/meme-monday-1.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5149876904821188602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5149876904821188602'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/04/meme-monday-1.html' title='Meme Monday #1'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-5581687868608244681</id><published>2011-01-24T20:17:00.001-08:00</published><updated>2011-01-24T20:17:52.038-08:00</updated><title type='text'>Mater Immersion Event Competition (Entry)</title><content type='html'>&lt;p&gt;&lt;br&gt;As an amazingly wonderful contribution to the SQL community, Paul Randal (&lt;a href="http://www.sqlskills.com/BLOGS/PAUL/"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/paulrandal"&gt;twitter&lt;/a&gt;) has &lt;a href="http://www.sqlskills.com/BLOGS/PAUL/post/Master_Immersion_Event_Competition.aspx"&gt;offered the opportunity for a member of the SQL community&lt;/a&gt; to win a free seat at the &lt;a href="http://www.sqlskills.com/Master1-Dallas-20110221.asp"&gt;SQLskills.com 5-day Internals and Performance class in Dallas, February 21-25&lt;/a&gt;. To qualify, one has to state in a blog post why you want to come to a class taught by them and why you'd make the best use of the knowledge you'll get from being in the class. I've decided to throw down the gauntlet and accept that challenge.&lt;/p&gt; &lt;h3&gt;What would deep SQL Server training provide me? &lt;/h3&gt; &lt;p&gt;Although I've been working with SQL server for about 14 y&lt;a href="http://lh6.ggpht.com/_-OxZGzbaD0A/TT5O1-oMr3I/AAAAAAAAADA/HIWkNj1JEr0/s1600-h/dcp00087%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="Looking down the buisness end of Mon's Meg" border="0" alt="Mon's Meg" align="right" src="http://lh5.ggpht.com/_-OxZGzbaD0A/TT5O2So1rjI/AAAAAAAAADE/hf29ZZ0txMU/dcp00087_thumb.jpg?imgmax=800" width="244" height="184"&gt;&lt;/a&gt;ears, for the most part it's still a black box. I'm often required to quickly respond to performance and corruption problems related to critical SQL Server systems belonging to my company's customers. I often feel as if I’m staring down the barrel of Mon’s Meg (see picture at right) as I strive to think up what to try next to solve the issues. Normally I wind up following the "well, last time we did -&lt;strong&gt;this&lt;/strong&gt;- and the issue went away..."&amp;nbsp; &lt;/p&gt; &lt;p&gt;For many types of issues involving SQL Server, using past experience to solve them without fully understanding exactly how SQL server functions can produce acceptable results - that is, the issue is cleared, but I cannot explain the failure, nor can I can't elaborate on why what I did worked or why the database failed the way it did. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_-OxZGzbaD0A/TT5O3ErffaI/AAAAAAAAADI/Yp-Wb8MIh6I/s1600-h/dcp00148%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="Archaeologists digging up a recently found broch on Shetland Island" border="0" alt="Archaeological dig at Shetland Island, July 2000" align="left" src="http://lh5.ggpht.com/_-OxZGzbaD0A/TT5O3bK5xRI/AAAAAAAAADM/HkabEycEVoo/dcp00148_thumb.jpg?imgmax=800" width="184" height="244"&gt;&lt;/a&gt;I often feel as if I’m an archeologist on the Shetland Island unearthing another &lt;a href="http://en.wikipedia.org/wiki/Broch"&gt;broch&lt;/a&gt;. I know how to handle the items to reduce or prevent damage to them, but may not necessarily have a full understanding of what they are or how they’re really supposed to be used.&lt;/p&gt; &lt;p&gt;Understanding how SQL server stores and retrieves data is crucial to efficiently finding solutions to complex issues within extremely aggressive SLA timeframes. This is even more important when users are wanting to take advantage of the new features of SQL 2008, because structures such as data compression, sparse columns and Filestream can drastically impact a server's ability to perform as the users wish it to.&lt;br&gt;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TT5O4JGKZsI/AAAAAAAAADQ/a01fl8GW2V4/s1600-h/dcp00220%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="Sheep on Isle of Skye" border="0" alt="Sheep on Isle of Skye" align="right" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TT5O4tZetjI/AAAAAAAAADU/EB1HHowOA2c/dcp00220_thumb.jpg?imgmax=800" width="244" height="184"&gt;&lt;/a&gt;&lt;/p&gt;      &lt;p&gt;Many times when I’ve needed quick assistance with solving database issues or explaining to yet another customer why one should not shrink databases daily as “maintenance,” I’ve referenced Paul’s blog to provide the explanations for me. I’m hoping that by attending this training, I will learn what I need to know so that I don’t feel so sheepish when defending the necessary fixes for SQL issues. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TT5O5plUkcI/AAAAAAAAADY/DDaR3DQTZ9M/s1600-h/IMG_8771%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="Barbado sheep and fainting goat belonging to my friend who lives near Dallas, TX." border="0" alt="Sheep and fainting goats" align="left" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TT5O7vF6mGI/AAAAAAAAADc/dhof0Tf7a_8/IMG_8771_thumb.jpg?imgmax=800" width="244" height="184"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I would make use of the knowledge learned in Paul &amp;amp; Kimberly’s class almost every day at my job. It could also help me advance from just another regular SQL person to a senior level or even expert level SQL person.&lt;/p&gt; &lt;p&gt;Finally, I have a friend living about an hour outside Dallas, TX who has a mixed herd of Barbado sheep and fainting goats – proving that sheep and goats can live together happily (Paul knows I have 5 goats).&lt;/p&gt; &lt;p&gt;&lt;em&gt;*ALL photos taken by me on our trip to Scotland in July 2000 (well, except the last one, which was taken in 2009 at my friend’s place in Texas).&lt;/em&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-5581687868608244681?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/5581687868608244681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/01/mater-immersion-event-competition-entry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5581687868608244681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/5581687868608244681'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/01/mater-immersion-event-competition-entry.html' title='Mater Immersion Event Competition (Entry)'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_-OxZGzbaD0A/TT5O2So1rjI/AAAAAAAAADE/hf29ZZ0txMU/s72-c/dcp00087_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-76304288502984915</id><published>2011-01-21T12:16:00.001-08:00</published><updated>2011-01-21T12:21:36.892-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Un-SQL Friday'/><title type='text'>Un-SQL Friday: My Tech Giants</title><content type='html'>&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TTnplBBDYUI/AAAAAAAAACw/5UMkdHUa0XM/s1600-h/UNSQL2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="UNSQL" border="0" alt="UNSQL" align="left" src="http://lh6.ggpht.com/_-OxZGzbaD0A/TTnplvh-y8I/AAAAAAAAAC0/mmGy0QMW_sw/UNSQL_thumb.png?imgmax=800" width="244" height="126"&gt;&lt;/a&gt;It’s Friday, the end of another long work week, and just as we have the monthly T-SQL Tuesday in which all SQL people are encouraged to post something related to a particular topic, the female half of Midnight DBA, the dazzling newly-minted MVP Jen McCown (&lt;a href="http://www.midnightdba.com/Jen/"&gt;blog&lt;/a&gt; | &lt;a href="http://www.twitter.com/midnightDBA"&gt;twitter&lt;/a&gt;) has declared this Friday, “&lt;a href="http://www.midnightdba.com/Jen/2011/01/un-sql-friday-your-tech-giants/trackback/"&gt;Un-SQL-Friday&lt;/a&gt;”. For this Un-SQL-Friday, she asked us:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;“Read this blog, and then write whatever you want about Tech Giants. Be sure to &lt;strong&gt;mention in your blog that you’re writing for Un-SQL Friday&lt;/strong&gt;, and &lt;strong&gt;link to this post&lt;/strong&gt;. Oh, and have it up any time before the weekend (Saturday Jan 22) hits, mmkay?”&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_-OxZGzbaD0A/TTnpmADVUxI/AAAAAAAAAC4/ZkBeVO5eoos/s1600-h/025%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="025" border="0" alt="025" align="right" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TTnpmpYjkxI/AAAAAAAAAC8/FZYqxXymp5c/025_thumb.jpg?imgmax=800" width="184" height="244"&gt;&lt;/a&gt;Well, that’s an interesting question. I suppose another way to put it is,&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt; “If you were asked to fill the shoes of __&lt;u&gt;&amp;lt;name of tech giant&amp;gt;&lt;/u&gt;_ , could you do it?”&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;I think the picture to the right answers the question quite succinctly as “Well, I can plug the top of his boot, but I’ll need a lot of other material to fill the rest.”&amp;nbsp; That is, I may not be at the same skill level on that topic as the one who wrote the book on it, but with enough effort and time I could get there. Much of the “greatness” comes from that person having researched and documented something that I haven’t yet encountered. The "SQL Gurus” are the ones who wrote the books I’m buying or actually worked on making SQL server what it is today.&lt;/p&gt; &lt;div&gt;      &lt;p&gt;I could rattle off a litany of names (as some of the other un-SQL participants did), or I could &lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;SELECT TOP &lt;font color="#000000"&gt;10 GuruName&lt;/font&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt; SQLServerGurus &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;and see what that returns to me. Or I could direct you to the listing on the right-hand side of my blog which includes links to many of the SQL blogs that I frequent. Either way, you’ll see that there is no shortage of knowledge available and I thank each and every one for all of the information that they’ve freely provided which has made my job much easier to do.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-76304288502984915?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/76304288502984915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/01/un-sql-friday-my-tech-giants.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/76304288502984915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/76304288502984915'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/01/un-sql-friday-my-tech-giants.html' title='Un-SQL Friday: My Tech Giants'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_-OxZGzbaD0A/TTnplvh-y8I/AAAAAAAAAC0/mmGy0QMW_sw/s72-c/UNSQL_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-3034728965554640245</id><published>2011-01-11T11:24:00.000-08:00</published><updated>2011-01-11T11:57:15.214-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><category scheme='http://www.blogger.com/atom/ns#' term='TSQL2sday'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>t-sql-tuesday-resolutions</title><content type='html'>﻿﻿ &lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.midnightdba.com/Jen/2011/01/tsql-tuesday-014/" imageanchor="1" style="clear: right; cssfloat: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" n4="true" src="http://3.bp.blogspot.com/_-OxZGzbaD0A/TSysEJ3C0rI/AAAAAAAAACs/SENwc9T6U7o/s1600/tsql2sday.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;TSQL2sday &lt;a href="http://www.midnightdba.com/Jen/2011/01/tsql-tuesday-014/trackback/"&gt;Linkback&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;﻿﻿ &lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Happy TSQL Tuesday Everyone!&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;This week's TSQL2day is hosted by the lovely Jen McCown (&lt;a href="http://www.midnightdba.com/Jen/"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/midnightdba"&gt;twitter&lt;/a&gt; ), the female half of the dynamic duo of SQL MVPs known as the MidnightDBAs. The theme is to post about &lt;a href="http://www.midnightdba.com/Jen/2011/01/tsql-tuesday-014/"&gt;our technical resolutions for 2011&lt;/a&gt; – what we hope to accomplish and why.&lt;/div&gt;It seems that a lot of us are making similar resolutions for 2011, so if you think you've seen this list before, you probably have. I'm not copying other people's lists, it's just that many of us in the SQL Server Community are seeking to accomplish similar things this year (birds of a feather and all that).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;RESOLUTION: BLOG at least once a Month on SQL topics&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I started my blog in July 2010, and have been rather lazy about updating it. In 2010, I posted 15 articles, of which only 1 was 100% about SQL. I did have 6 others I tagged with "SQL" or "SQL PASS", but they were not focused specifically on SQL. That's not a particularly good record, especially since the purpose of starting this blog was to write about SQL and NOT about sewing, random thoughts or my goats, even though those are excellent topics for blogging. The good news is that by posting this article, I can check off January's SQL post...a good start to any set of resolutions. Of course, I DO have at least 11 other SQL blog posts that I must create. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;RESOLUTION: READ Books on SQL Server 2008&lt;/span&gt;&lt;br /&gt;&lt;em&gt;AND&lt;/em&gt; &lt;br /&gt;&lt;span style="font-size: large;"&gt;POST reviews of the SQL Server 2008 Books on my BLOG &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is a dual resolution, thanks to Brent Ozar (&lt;a href="http://www.brentozar.com/"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/brento"&gt;twitter&lt;/a&gt;), who very kindly sent me a copy of "&lt;a href="http://www.amazon.com/gp/product/0470484284?ie=UTF8&amp;amp;tag=brozsqseex-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=0470484284"&gt;Professional SQL Server 2008 Internals and Troubleshooting&lt;/a&gt;"&amp;nbsp; which he co-authored with 6 other people. As a condition for giving it to me, he asked that I write a review of it. (Brent: I'm reading it now - really!!). Reading books on SQL will certainly help me better understand the inner workings of SQL and hopefully advance my career. Blogging about what I read will not only ensure that I absorb the information I read about but also will fulfill my blogging resolution. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;RESOLUTION: WRITE a PRESENTATION on a SQL Topic&lt;/span&gt;&lt;br /&gt;&lt;em&gt;AND&lt;/em&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Volunteer to PRESENT on a SQL Topic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As a SQL professional who has been working with SQL server since the days of SQL 6.5, I really ought to volunteer to present at a SQL-related event - be it a &lt;a href="http://sqlsaturday.com/default.aspx"&gt;SQL Saturday&lt;/a&gt;, SQL User Group meeting, &lt;a href="http://www.sqlpass.org/24hours/Spring2011/"&gt;24 Hours of PASS&lt;/a&gt;, or &lt;a href="http://www.sqlpass.org/Events/PASSSummit.aspx"&gt;PASS Summit&lt;/a&gt; itself. This resolution is a two part resolution since the second part won't happen unless I actually have something prepared to present. I've been hiding in the background whenever calls have gone out for volunteers to speak because I "have nothing to say" and "have no idea what I can present about." Anyone who has heard me talk about sewing and costuming at the Science Fiction and Anime conventions that I've been attending knows that I have plenty to say (well, plenty to say about sewing, costuming, and a few other hobby-related topics) and don't fear getting up in front of 50 or so people and talking their ears off. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;RESOLUTION: Become a SQL MVP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is likely the hardest one for me to accomplish - especially since it requires others to recommend me for the award. However, if I work to exceed the other goals listed above, I might actually have that within reach. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;What do you think? What are YOUR resolutions for 2011?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-3034728965554640245?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/3034728965554640245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2011/01/t-sql-tuesday-resolutions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3034728965554640245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3034728965554640245'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2011/01/t-sql-tuesday-resolutions.html' title='t-sql-tuesday-resolutions'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_-OxZGzbaD0A/TSysEJ3C0rI/AAAAAAAAACs/SENwc9T6U7o/s72-c/tsql2sday.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-6549703653161208987</id><published>2010-12-02T17:56:00.001-08:00</published><updated>2010-12-02T18:04:47.468-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database Corruption'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Corrupt Database Adventures</title><content type='html'>&lt;p&gt;Ever notice how a “quick question” can turn into a major project? A coworker IM’d me earlier today with a “quick question” asking whether I knew how to get a database out of Emergency Mode. &lt;/p&gt; &lt;p&gt;Uh oh…&lt;/p&gt; &lt;p&gt;She then reassured me that it was a DEV box and not production. Whew! That meant that we didn’t have to worry about losing important customer data and at worst we could restore from back up without too much pain. I decided to investigate since it’s not often that one gets to fiddle with a genuinely corrupt database that’s not critical to the bottom line.&lt;/p&gt; &lt;p&gt;I did a quick web search and found an &lt;a href="http://www.sqlskills.com/blogs/paul/post/Corruption-Last-resorts-that-people-try-first.aspx"&gt;article&lt;/a&gt; by Paul Randal that talked about the last resorts that people try first with a corrupted database. It mentioned that one thing people try is rebuilding the transaction log&amp;nbsp; using&amp;nbsp; DBCC REBUILD_LOG. I tried it, but it’s not a valid DBCC command for SQL 2005 (in fact, if I’d read a few more paragraphs in Paul’s article BEFORE trying it, I would’ve seen him mention that very fact – that should teach me the folly of skimming articles).&lt;/p&gt; &lt;p&gt;The next item mentioned was to perform a DBCC CHECKDB using the REPAIR_ALLOW_DATA_LOSS setting. What better time to try this than when you have a broken dev box to play with? Take a deep breath and see what happens.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;DBCC&lt;/font&gt; CHECKDB (testdb, repair_allow_data_loss) &lt;font color="#0000ff"&gt;WITH NO_INFOMSGS&lt;/font&gt;;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The results said:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Msg 605, Level 12, State 3, Line 1&lt;/font&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Attempt to fetch logical page (1:2576) in database 5 failed. It belongs to allocation unit 72057594060406784 not to 281474980642816.&lt;/font&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Msg 8921, Level 16, State 1, Line 1&lt;/font&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;That didn’t sound promising.I tweeted #sqlhelp quoting the text of the Msg 605 to see if anyone else had any suggestions. Meanwhile, I searched for other possible tricks to try. &lt;p&gt;One posting I found on a SQL newsgroup (forgot which one and can’t find it again) stated that Msg 605 indicates a physical drive failure. I didn’t verify that, but since the dev box had been troublesome for quite some time, it didn’t sound too inaccurate.  &lt;p&gt;Meanwhile, I got some suggestions from #sqlhelp to try DBCC DBREINDEX and DBCC CHECKTABLE on all the indexes and tables. I snagged a &lt;a href="http://www.sqlservercentral.com/scripts/Index+Management/30139/"&gt;script&lt;/a&gt; from SQLServerCentral that loops through every table and performs a DBCC DBREINDEX on all indexes. Lots of black text scrolled through in the results pane, interspersed with some shocks of red. The red means something was wrong – but at least the black text following the red text indicated that things were repaired.  &lt;p&gt;I then ran the DBCC CHECKTABLE using the same script as above to loop through all tables. It crunched through the tables happily for about 75% of the database, then it stopped with an error: &lt;blockquote&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Msg 211, Level 23, State 51, Line 13&lt;/font&gt; &lt;p&gt;&lt;font color="#ff0000" face="Courier New"&gt;Possible schema corruption. Run DBCC CHECKCATALOG&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Sweeeeeeeeeeeeeeeeeeeeet. An “Improvement”? No. I ran DBCC CHECKCATALOG as suggested. It completed successfully. THAT seemed promising. I tried rerunning  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;font color="#0000ff"&gt;DBCC&lt;/font&gt; CHECKDB (testdb, repair_allow_data_loss) &lt;font color="#0000ff"&gt;WITH NO_INFOMSGS&lt;/font&gt;;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Same results. One more time with gusto – this time I noticed that I’d lost the SQL connection. Reconnect, retry, and it disconnected before completing the command. The server had degraded sufficiently that there certainly was no hope of resuscitating it, so I logged off. A short while later, I received a message stating that they’d located the backup image of the dev box and were ready to rebuild it. &lt;/p&gt; &lt;p&gt;Although I spent several hours working on this, it was a great learning experience for me – most importantly, I learned that if DBCC CHECKDB can’t repair it, then likely you’re best off restoring the database from backup. &lt;p&gt;Before you find yourself in a situation with a corrupt database, take a look at Paul Randal’s “&lt;a href="http://www.sqlskills.com/BLOGS/PAUL/post/CHECKDB-From-Every-Angle-EMERGENCY-mode-repair-the-very-very-last-resort.aspx"&gt;CHECKDB from Every Angle: Emergency Mode Repair&lt;/a&gt;”, which is an update to his article mentioned above. I wish I’d found that one first, but one uses the tools that the search engines return. Actually, the better choice would be to simply read through Paul Randal’s “&lt;a href="http://www.sqlskills.com/BLOGS/PAUL/category/Corruption.aspx"&gt;Corruption&lt;/a&gt;” Category in his blog – this is the ever-growing set of articles that he’s written about database corruption. I’m going to spend a lot of time reading through those posts, and you should, too. It’ll certainly make you life easier when someone asks you a “quick question” on how do you fix a database in Emergency mode.&amp;nbsp;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-6549703653161208987?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/6549703653161208987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/12/corrupt-database-adventures.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6549703653161208987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6549703653161208987'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/12/corrupt-database-adventures.html' title='Corrupt Database Adventures'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-4522376328982453188</id><published>2010-11-19T16:13:00.000-08:00</published><updated>2010-11-19T16:13:56.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><category scheme='http://www.blogger.com/atom/ns#' term='Un-SQL Friday'/><title type='text'>Un-SQL Friday 001: Branding - What's Your Brand?</title><content type='html'>In answer to &lt;a href="http://www.midnightdba.com/jen"&gt;MidnightDBA's&lt;/a&gt;&amp;nbsp; challenge for &lt;a href="http://www.midnightdba.com/Jen/2010/11/un-sql-friday-001-branding/"&gt;Un-SQL Friday 001&lt;/a&gt;, I humbly submit this simple post.&lt;br /&gt;&lt;br /&gt;For some of us, Brand is all-important. In the case of corporations, Brand is vital becuase it implies a certain amount of trust and loyalty. Companies work very hard to protect their brands from genericization - how many of us call facial tissues "Kleenex" despite the fact that there are many other manufacturers of little folded rectangles that function as disposable hankies? We also see a vast amount of brand-loyalty - "I only wear &amp;lt;&lt;em&gt;brand-x&lt;/em&gt;&amp;gt;* jeans because they are the only ones that fit right" (I happen to disagree - &amp;lt;&lt;em&gt;brand-y&lt;/em&gt;&amp;gt;* fits MY figure better).&lt;br /&gt;&lt;br /&gt;Certain individuals are also fighting to establish or maintain their "Brand". I'll point you to &lt;a href="http://www.brentozar.com/"&gt;Brent Ozar&lt;/a&gt;, who frequently talks about how he is striving to make and maintain his "brand". I suppose part of that is why people like me keep coming back to his blog. Well, that and the various articles like "&lt;a href="http://www.brentozar.com/archive/2010/11/plagiarism-week-finding-slimy-slimeballs/"&gt;Plagarism Week: Finding the Slimy Slimeballs&lt;/a&gt;" where his discusses his latest experience with having his content plagarized (for additional fun, browse through his &lt;a href="http://www.brentozar.com/archive/tag/plagiarism/"&gt;archive of plagarism articles&lt;/a&gt;. There will be a quiz later). &lt;br /&gt;&lt;br /&gt;Other bloggers I frequently read - they're listed in the sidebar on the right - all have their own "brands" in that each is a blog I turn to for a specific reason be it entertainment, or excellent information on SQL server specifics.&lt;br /&gt;&lt;br /&gt;So what is my "Brand"? I'm not sure. I know I'm working on building it. I feel a little like General Mills which has brands for various products. I have a brand for the me who is a costumer that attends various Science Fiction and Anime conventions; for the me who is a family memeber; and another for the me who works as a database professional. Each "me" has her own specialties and few are mixed together.&lt;br /&gt;&lt;br /&gt;I first really noticed my "Brand" (for the Costumer) at a Anime &amp;amp; Gaming mini-convention just before Halloween. I'd neglected to bring a costume, having completely forgotten that there was going to be a costume competition. I did, however, bring a bag full of fabric because I was planning to spend the day cutting out some shirts and pants that I'd recently drafted the patterns for. While I was finishing up gluing together the patterns, I noticed they were having a costume competition, and about 10 contestants were left (they'd had about 40 and were moving through the line one at a time). I dumped out the rolls of fabric I brought, pondered a moment, then draped myself a quick Greek-style toga-ish costume. Arming myself with scissors, a spare piece of fabric and my tape measure, I hopped to the back of the line, which by that time had gotten down to 5 contestants (yup, 5 minute assembly there). When it came my turn, I presented myself as "Glitzlandia, Goddess of Costuming". I walked up to one of the judges and attempted to drape the fabric around her amidst laughter and giggling from the audience. &lt;br /&gt;&lt;br /&gt;After all that silliness, I was awarded the "Best Use of Materials" prize. &lt;br /&gt;&lt;br /&gt;As I picked up my prize, one of the judges commented that although the costume was very creative and looked very nice, it wasn't up to my "usual" standards. I laughed and informed him that not only did I spend merely 5 minutes assembling it, but I hadn't even looked at myself in the mirror and had no idea what it looked like. &lt;br /&gt;&lt;br /&gt;So, my "Brand" at Science Fiction Conventions / Anime Conventions is "&lt;em&gt;Costumer who makes really great costumes&lt;/em&gt;" (or something like that).&amp;nbsp;Yey. I can live with that one.&lt;br /&gt;&lt;br /&gt;I'm still working on building my "Brand" in the SQL server commmunity. I'm not really known yet as the one who knows &amp;lt;&lt;em&gt;cool SQL thing that no one else is expert at&lt;/em&gt;&amp;gt;, but someday I will be know that way. Right now, I think the SQL Server Community thinks of me as that DBA who can sew. Maybe that's enough for now, but it certainly isn't helping my salary any. &lt;br /&gt;&lt;br /&gt;In case you were wondering, my goats are not branded; yet everyone who lives near me know who they are and who they belong to. Of course, it helps that there aren't all that many goats in my neighborhood besides mine. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;*brand names removed just becase this is an illustration and not an actual statement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-4522376328982453188?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/4522376328982453188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/11/un-sql-friday-001-branding-whats-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/4522376328982453188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/4522376328982453188'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/11/un-sql-friday-001-branding-whats-your.html' title='Un-SQL Friday 001: Branding - What&apos;s Your Brand?'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-6543367694807961107</id><published>2010-11-16T20:14:00.001-08:00</published><updated>2010-11-16T20:15:53.074-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><title type='text'>Reflections on SQL PASS Summit 2010</title><content type='html'>Attending Orycon immediately following SQL PASS Summit was not exactly the best thing for me to do especially since I managed to lose my voice part way though SQL PASS and still haven’t managed to fully recover from the damage despite taking both Monday and today as vacation days from work. &lt;br /&gt;SQL PASS Summit was very educational, and I wish I had the time to personally document all that I learned. However, thanks to my bout with illness, I do not have the time to write all that I should. Fortunately for the rest of us, many SQL PASS Summit attendees already blogged about the highlights and they write much more coherently than I do. &lt;br /&gt;Here is a brief list of the live blogging of SQL PASS Summit events, classes, keynotes and suchlike (in the order I stumbled upon them, rather than in any order of priority or importance)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;SQL Belle’s &lt;a href="http://www.sqlmusings.com/" target="_blank"&gt;blog&lt;/a&gt; on the &lt;a href="http://www.sqlmusings.com/2010/11/14/reflections-of-a-woman-in-technology/" target="_blank"&gt;Women in Technology Luncheon&lt;/a&gt; at SQL PASS Summit, &lt;a href="http://www.sqlmusings.com/2010/11/10/pass-summit-day-1-keynote-mcm-sqlpasstv-servicebroker-bi-power-hour-mdx-who-dunnit/" target="_blank"&gt;PASS Summit Day 1 keynote and classes&lt;/a&gt; she attended, her discoveries on the day prior to the start of PASS Summit (aka &lt;a href="http://www.sqlmusings.com/2010/11/08/pass-summit-2010-day-1-nosql-dba-myths-and-twitter/" target="_blank"&gt;Day -1&lt;/a&gt;).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Jen of MidnightDBA’s blog includes the &lt;a href="http://www.midnightdba.com/Jen/2010/11/pass-summit-virtual-vendor-area/" target="_blank"&gt;PASS Virtual Vendors Area&lt;/a&gt;, Pass Day 3: &lt;a href="http://www.midnightdba.com/Jen/2010/11/pass-day-3-keynote-live-blog/" target="_blank"&gt;Keynote Live Blog&lt;/a&gt;, Pass Day 2: &lt;a href="http://www.midnightdba.com/Jen/2010/11/sqlpass-day-2-wit-luncheon-live-blog/" target="_blank"&gt;WIT Luncheon&lt;/a&gt;, Pass Day 2: &lt;a href="http://www.midnightdba.com/Jen/2010/11/sqlpass-day-2-keynote-live-blog/" target="_blank"&gt;Keynote live Blog&lt;/a&gt;, Pass Day 1: &lt;a href="http://www.midnightdba.com/Jen/2010/11/sqlpass-day-1-keynote-live-blog/" target="_blank"&gt;Keynote Live Blog&lt;/a&gt;, and of course video of the MidnightDBA groupies &lt;a href="http://www.ustream.tv/recorded/10727130" target="_blank"&gt;PASS Meetup&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Brent Ozar blogged about &lt;a href="http://www.brentozar.com/archive/2010/11/sqlpass-summit-keynote-day/" target="_blank"&gt;Keynote day #1&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Strate SQL blogged about &lt;a href="http://www.jasonstrate.com/index.php/2010/11/david-dewitt-at-the-pass-summit/" target="_blank"&gt;Dr. David DeWitt’s amazing keynote&lt;/a&gt; about SQL Query Optimization on the 3rd day of SQL Pass. The blog page also includes the links I forgot to write down for the URLs Dr. DeWitt mentioned during his talk.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Grant Fritchey on Keynote Day #1 (&lt;a href="http://scarydba.com/2010/11/09/pass-summit-day-1-keynote-part-1/" target="_blank"&gt;part 1&lt;/a&gt;, &lt;a href="http://scarydba.com/2010/11/09/pass-summit-day-1-keynote-part-2/" target="_blank"&gt;part 2&lt;/a&gt;, &lt;a href="http://scarydba.com/2010/11/09/pass-summit-day-1-keynote-part-3/" target="_blank"&gt;part 3&lt;/a&gt;) , &lt;a href="http://scarydba.com/2010/11/10/pass-summit-day-2-keynote/" target="_blank"&gt;Keynote Day 2&lt;/a&gt;, &lt;a href="http://scarydba.com/2010/11/11/pass-summit-2010-day-3-key-note-part-1/" target="_blank"&gt;Keynote day 3&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;SQL Rockstar, aka Thomas LaRock, blogged on &lt;a href="http://tomlarock.com/2010/11/what-i-did-last-week/" target="_blank"&gt;what he did last week&lt;/a&gt;, the &lt;a href="http://tomlarock.com/2010/11/live-from-seattle-its-the-2010-pass-summit/" target="_blank"&gt;first keynote&lt;/a&gt;, and the &lt;a href="http://tomlarock.com/2010/11/pass-summit-women-in-technology-luncheon/" target="_blank"&gt;Women in Technology Luncheon&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Replays of the Live streaming video of the keynotes from SQLPass site: &lt;a href="http://www.sqlpass.org/summit/na2010/LiveKeynotes/Tuesday.aspx" target="_blank"&gt;Day 1&lt;/a&gt;, &lt;a href="http://www.sqlpass.org/summit/na2010/LiveKeynotes/Wednesday.aspx" target="_blank"&gt;Day 2&lt;/a&gt;, &lt;a href="http://www.sqlpass.org/summit/na2010/LiveKeynotes/Thursday.aspx" target="_blank"&gt;Day 3&lt;/a&gt;, and &lt;a href="http://www.sqlpass.org/summit/na2010/LiveKeynotes/WITLuncheon.aspx" target="_blank"&gt;WIT Luncheon&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;Various neat things were announced at SQL PASS Summit, including&lt;br /&gt;&lt;ul&gt;&lt;li&gt;New &lt;a href="http://www.microsoft.com/learning/en/us/certification/master-sql-path.aspx" target="_blank"&gt;path to obtaining the Microsoft Certified Master&lt;/a&gt; (MCM) certification for SQL Server 2008.  &lt;ul&gt;&lt;li&gt;Brent Ozar wrote a &lt;a href="http://www.brentozar.com/archive/2010/11/changes-microsoft-certified-master-of-sql-server-program/" target="_blank"&gt;summary&lt;/a&gt; of the changes for those who want a quick bulleted list of the changes rather than the full program description.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&amp;nbsp;&lt;a href="http://www.sqlskills.com/BLOGS/PAUL/post/Big-changes-to-the-MCM-program-and-how-SQLskills-can-help-you.aspx" target="_blank"&gt;Paul Randal&lt;/a&gt; and &lt;a href="https://sqlserverperformance.wordpress.com/2010/11/14/new-path-to-mcm-in-sql-server-2008/" target="_blank"&gt;Glen Berry&lt;/a&gt; also blogged on the MCM announcement.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Many posted the all-important link to the &lt;a href="http://technet.microsoft.com/en-us/sqlserver/ff977043.aspx" target="_blank"&gt;MCM readiness videos&lt;/a&gt;, which is required viewing for all MCM candidates.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/sqlserver/en/us/product-info/future-editions.aspx" target="_blank"&gt;SQL Server Denali&lt;/a&gt; Community Technology Preview was released, and all attendees received a CD containing SQL Server Denali CTP1. Brent Ozar was one of the first to post a blog about &lt;a href="http://www.brentozar.com/archive/2010/11/sql-server-denali-database-mirroring-rocks/" target="_blank"&gt;Denali&lt;/a&gt; and its high availability features.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;SQL Server Tools code named “Juneau” – SSMS BI functionality now available in BIDs.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;SQL Server 2008 &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/parallel-data-warehouse.aspx" target="_blank"&gt;R2 Parallel Data Warehouse&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Microsoft “&lt;a href="http://technet.microsoft.com/en-us/library/ff962512.aspx" target="_blank"&gt;Atlanta&lt;/a&gt;” (online service providing proactive alerts for SQL server 2008+). Official site &lt;a href="https://beta.microsoftatlanta.com/" target="_blank"&gt;here&lt;/a&gt;. Brent Ozar expresses his &lt;a href="http://www.brentozar.com/archive/2010/11/microsoft-atlanta-cloudbased-sql-server-monitoring/" target="_blank"&gt;concerns&lt;/a&gt; about Atlanta in a blog he posted within minutes of Atlanta being announced (fast blogger!).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Project Crescent – web-based reporting tool&lt;/li&gt;&lt;/ul&gt;Random photos from SQL PASS Summit 2010. Generally speaking, the photos were taken outside the hours of the classes at social events because we ALL were actually paying attention to the speakers rather than snapping photos. The following are photo albums posted by various attendees.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Lucid 77’s photostream with &lt;a href="http://www.flickr.com/photos/asylumphoto/5168244649/" target="_blank"&gt;sqlpasspics&lt;/a&gt; tag&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Brent Ozar’s &lt;a href="http://www.flickr.com/photos/brento/5167574671/" target="_blank"&gt;photostream&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The “official” flickr “&lt;a href="http://www.flickr.com/photos/tags/sqlpass/" target="_blank"&gt;SQLPass&lt;/a&gt;” tag series of photos&lt;/li&gt;&lt;/ul&gt;Wednesday was SQLKilt day. Many of the male attendees showed up wearing kilts in support of the PASS WIT (Women In Technology):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Lucid 77’s &lt;a href="http://www.flickr.com/photos/asylumphoto/sets/72157625272266947/" target="_blank"&gt;photostream&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Stuff from other evening happenings&lt;br /&gt;&lt;ul&gt;&lt;li&gt;SQL Chicken’s inside view of the &lt;a href="http://www.ustream.tv/recorded/10731299" target="_blank"&gt;SQL Server Central Party&lt;/a&gt; on Monday evening&lt;/li&gt;&lt;/ul&gt;SQL Karaoke:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;SQL Chicken’s &lt;a href="http://www.flickr.com/photos/asylumphoto/5168244649/" target="_blank"&gt;live streaming&lt;/a&gt; iPhone video set from SQL Karaoke, including “&lt;a href="http://www.ustream.tv/recorded/10775167" target="_blank"&gt;11/10/10 9:48 PM singing&lt;/a&gt;”, “&lt;a href="http://www.ustream.tv/recorded/10776260" target="_blank"&gt;11/10/10 11:18 PM&lt;/a&gt;” (the Elvis song singing guy is actually quite good), and of course “&lt;a href="http://www.ustream.tv/recorded/10775650" target="_blank"&gt;11/10/10 10:47 PM&lt;/a&gt;”,&amp;nbsp; proving yet again that Karaoke is singing better left in the shower.&lt;/li&gt;&lt;/ul&gt;&lt;div align="left"&gt;I got to sit next to Brent Ozar in a panel at SQL Pass. He snapped my picture as I was trying to peek into his birthday gift bag:&lt;/div&gt;&lt;div align="left"&gt;&lt;a href="http://www.flickr.com/photos/brento/5165077737/in/photostream/"&gt;&lt;img alt="LadyRuna" border="0" height="244" src="http://lh5.ggpht.com/_-OxZGzbaD0A/TONWra8wa2I/AAAAAAAAACk/RIaxNdfDN48/LadyRuna%5B3%5D.jpg?imgmax=800" style="background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="LadyRuna" width="184" /&gt;&lt;/a&gt;(hyperlink to &lt;a href="http://www.flickr.com/photos/brento/5165077737/in/photostream/"&gt;original&lt;/a&gt; of photo)&amp;nbsp; He tagged it “Celebrity&amp;nbsp; Sighting at #sqlpass and tweeted my photo to everyone. I guess I’m a Celebrity now. Wowza.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-6543367694807961107?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/6543367694807961107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/11/reflections-on-sql-pass-summit-2010.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6543367694807961107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6543367694807961107'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/11/reflections-on-sql-pass-summit-2010.html' title='Reflections on SQL PASS Summit 2010'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_-OxZGzbaD0A/TONWra8wa2I/AAAAAAAAACk/RIaxNdfDN48/s72-c/LadyRuna%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-8125774840512359318</id><published>2010-11-04T10:40:00.001-07:00</published><updated>2010-11-04T10:46:28.444-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><category scheme='http://www.blogger.com/atom/ns#' term='Women in Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='WIT'/><title type='text'>Girls Need Good Mentors</title><content type='html'>Although frequently in elementary schools, girls are ahead of the boys in math, Why is it that by the time they go to junior high school or high school so many girls shy away from or even declare they hate math? I suspect that to some degree what pushes them away from mathematics is what I'd call "bad role models". That is, they meet various older women who are anxious about math and they copy the behavior of those women.&lt;br /&gt;&lt;br /&gt;Who are these role models? Females in their family and teachers. Most elementary school teachers are female - in fact, in the elementary school I attended, the only male teacher there was the gym teacher (this may have changed over the years.). Just for fun, I googled something similar to "Gender profile of teachers" and got back a number of interesting articles. One from &lt;a href="http://www.fldoe.org/eias/eiaspubs/pdf/genderprof.pdf" target="_blank"&gt;Florida&lt;/a&gt; was a 2003 report showing approx 90% female elementary and approx 60% female secondary teachers. &lt;a href="http://www.boston.com/news/education/k_12/articles/2008/11/18/hunt_is_on_for_more_men_to_lead_classrooms/" target="_blank"&gt;Boston.com&lt;/a&gt; talked about Massachusetts schools becoming desperate to recruit male teachers to provide role models for boys since so few men teach these days.&lt;br /&gt;&lt;br /&gt;I also found a &lt;a href="http://health.usnews.com/health-news/family-health/brain-and-behavior/articles/2010/01/25/female-teachers-pass-on-math-anxieties.html" target="_blank"&gt;report&lt;/a&gt; that backed up my theory about female teachers passing math anxieties on to their female students. The report also stated that for some reason the boys were not influenced by the math-phobic teachers)&lt;br /&gt;&lt;br /&gt;How did my interest in math and science survive the bad influence of the math-phobic teachers / role models? I was fortunate that both my parents were math / science teachers and they continuously reinforced not only the value of knowing math and science but also the fun (can you say "home chemistry experiments"?) of it all. &lt;br /&gt;&lt;br /&gt;What can we do for those who don't have good math/science female role models in their lives? What else can we do to help influence the young girls to encourage them to pursue technical professions? Where are the highly technical females hiding? &lt;br /&gt;&lt;br /&gt;One good place to not only find strong female role models but also something that appeals to youngsters is in Japanese Anime. Unlike American cartoons - where the smart and competent characters are portrayed using negative stereotypes -- thick glasses, ugly, terrible in sports -- Anime heroines are beautiful and amazingly competent in everything from sports to music to academics. Best of all, they are astoundingly competent with computers. &lt;br /&gt;&lt;br /&gt;Here's a brief list of anime with strong female leads (character name when I can think of it in parens) :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Serial Experimanets Lain (Lain)&lt;/li&gt;&lt;li&gt;Suzumiya Haruhi no Yuuustu (Nagato Yuki)&lt;/li&gt;&lt;li&gt;Rideback&lt;/li&gt;&lt;li&gt;Mission E (*not* the 1st series, 'Code E,' but the second series called "Mission E") &lt;/li&gt;&lt;li&gt;Black Lagoon (Revy)&lt;/li&gt;&lt;li&gt;Ghost in the Shell (Kusanagi Motoko)&lt;/li&gt;&lt;li&gt;Pumpkin Scissors (Alice)&lt;/li&gt;&lt;/ul&gt;(I’ll add more as I think of them. )&lt;br /&gt;I’d also recommend David Weber’s Honor Harrington series as something for young ladies to read in their spare time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-8125774840512359318?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/8125774840512359318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/11/sqlwit-girls-need-good-mentors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8125774840512359318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8125774840512359318'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/11/sqlwit-girls-need-good-mentors.html' title='Girls Need Good Mentors'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-3272595198190323883</id><published>2010-10-22T16:25:00.001-07:00</published><updated>2010-10-22T16:25:18.790-07:00</updated><title type='text'>Alice Costume (from “Alice: Madness Returns” Game)</title><content type='html'>&lt;p&gt;I just completed sewing the Alice costume I need for various events:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;I’m Alice in Orycon’s Opening Ceremonies skit “Alice in Oryconland” &lt;/li&gt; &lt;li&gt;I’m Alice at the Greater Portland Area Costumer’s Guild Orycon Party where the theme is “Alice in Slumberland”&lt;/li&gt; &lt;li&gt;Halloween&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;I chose to do the Alice from the &lt;a href="http://www.ea.com/alice" target="_blank"&gt;“Alice: Madness Returns&lt;/a&gt;” game because I had sufficient leftover fabric in appropriate colors to make it. (we will NOT discuss the size of my stash. The fabric reproduces on its own – REALLY).&lt;/p&gt; &lt;p&gt;Front and Back Pictures. I digitized and embroidered the symbols on the apron. The skull was a $1.19 decoration I found at a grocery store.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_-OxZGzbaD0A/TMIdVjXWiSI/AAAAAAAAACU/RME8qGgs-k8/s1600-h/018%5B2%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="018" border="0" alt="018" src="http://lh4.ggpht.com/_-OxZGzbaD0A/TMIdWGlhXeI/AAAAAAAAACY/hV3FkIsTN_k/018_thumb.jpg?imgmax=800" width="184" height="244"&gt;&lt;/a&gt; &lt;a href="http://lh3.ggpht.com/_-OxZGzbaD0A/TMIdWZtLGmI/AAAAAAAAACc/y3kF3J7WhRA/s1600-h/019%5B2%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="019" border="0" alt="019" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TMIdXYbHIgI/AAAAAAAAACg/8ZnVxNu1V98/019_thumb.jpg?imgmax=800" width="184" height="244"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-3272595198190323883?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/3272595198190323883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/10/alice-costume-from-alice-madness.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3272595198190323883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3272595198190323883'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/10/alice-costume-from-alice-madness.html' title='Alice Costume (from “Alice: Madness Returns” Game)'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_-OxZGzbaD0A/TMIdWGlhXeI/AAAAAAAAACY/hV3FkIsTN_k/s72-c/018_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-1060112450006799641</id><published>2010-10-05T18:17:00.001-07:00</published><updated>2010-10-05T18:28:50.010-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><category scheme='http://www.blogger.com/atom/ns#' term='Women in Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='sewing'/><title type='text'>Win2K Book Purse</title><content type='html'>Given that I have advertised myself as both a SQL Server person and a seamstress, I think it’s about time that I show the project I most recently completed.&lt;br /&gt;&amp;nbsp;&lt;a href="http://lh5.ggpht.com/_-OxZGzbaD0A/TKvNvM0lPYI/AAAAAAAAAB8/qh9CNbJ6fxk/s1600-h/SAM_0208%5B3%5D.jpg"&gt;&lt;img align="right" alt="SAM_0208" border="0" height="184" src="http://lh6.ggpht.com/_-OxZGzbaD0A/TKvNxwkvKKI/AAAAAAAAACA/EftOU_inhwE/SAM_0208_thumb%5B1%5D.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; margin-right: 0px;" title="SAM_0208" width="244" /&gt;&lt;/a&gt;This purse was made using scrap upholstery fabrics and the cover of “Inside Microsoft Windows 2000, Third Edition,” which has served its purpose and is now destined to live its second life as a purse. &lt;br /&gt;The idea of making a purse from a book is not my original idea – I met a lady at an &lt;a href="http://www.asg.org/" target="_blank"&gt;American Sewing Guild&lt;/a&gt; (ASG) meeting who had one. The instructions for making your own book purse can quickly be found using a simple web search, so I won’t bother looking up the link.&lt;br /&gt;The main changes I made to the “standard” version of the&lt;a href="http://lh4.ggpht.com/_-OxZGzbaD0A/TKvN36-JXuI/AAAAAAAAACE/jchZ8MuO8FU/s1600-h/SAM_0203%5B4%5D.jpg"&gt;&lt;img align="right" alt="SAM_0203" border="0" height="184" src="http://lh3.ggpht.com/_-OxZGzbaD0A/TKvN84s4GGI/AAAAAAAAACI/qryXzuDKvsw/SAM_0203_thumb%5B2%5D.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; margin-right: 0px;" title="SAM_0203" width="244" /&gt;&lt;/a&gt; purse are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I didn’t measure anything with a ruler – I simply wrapped the fabric around the book pages and pinned it to fit, then sewed it together&lt;/li&gt;&lt;li&gt;The clasp is one of those turn-buckle clasps that you attach by putting a hole through the book cover where you want it to be. &lt;/li&gt;&lt;li&gt;The strap leading to the clasp and the outer side gussets were made from leftover raincoat fabric.&lt;/li&gt;&lt;li&gt;I glued it together using Aleene’s Tacky Glue (craft glue), stuffed the soon to be discarded pages inside, placed it on the floor and covered it with a large tote bag full of books (I think the full tote bag weighs about 40 pounds) while waiting for the glue to dry.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://lh3.ggpht.com/_-OxZGzbaD0A/TKvOA2KcdvI/AAAAAAAAACM/PajwHQ2ZqIA/s1600-h/SAM_0201%5B6%5D.jpg"&gt;&lt;img alt="SAM_0201" border="0" height="184" src="http://lh5.ggpht.com/_-OxZGzbaD0A/TKvOE1rOFeI/AAAAAAAAACQ/vv4POLX5z30/SAM_0201_thumb%5B4%5D.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="SAM_0201" width="244" /&gt;&lt;/a&gt;&lt;br /&gt;I plan to bring this to SQL PASS Summit. It may become a door prize for one of the WIT presentations if they decide that it’s “worthy”. &lt;br /&gt;* Note: I will leave the CD from the book inside the purse as a “bonus gift”.&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-1060112450006799641?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/1060112450006799641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/10/win2k-book-purse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/1060112450006799641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/1060112450006799641'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/10/win2k-book-purse.html' title='Win2K Book Purse'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_-OxZGzbaD0A/TKvNxwkvKKI/AAAAAAAAACA/EftOU_inhwE/s72-c/SAM_0208_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-2571704647465162762</id><published>2010-10-04T18:52:00.001-07:00</published><updated>2010-10-04T19:12:08.895-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL PASS'/><category scheme='http://www.blogger.com/atom/ns#' term='Women in Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Technologh'/><category scheme='http://www.blogger.com/atom/ns#' term='WIT'/><title type='text'>SQL Pass Chalk Talk</title><content type='html'>&lt;p&gt;In Mid-November, I’ll be debuting at my first professional presentation at the &lt;a href="http://www.sqlpass.org/summit/na2010/" target="_blank"&gt;SQL PASS Summit&lt;/a&gt; in Seattle, WA. During the last SQL PASS&amp;nbsp; &lt;a href="http://wit.sqlpass.org/" target="_blank"&gt;Women In Technology&lt;/a&gt; (WIT) Virtual Chapter meeting (we meet monthly via telephone), Meredith Ryan-Smith asked for volunteers to be panelists with her at the Chalk Talk she would be leading. I volunteered hoping that I would have some useful tidbits to contribute to the 40-minute session entitled "&lt;a href="http://sqlpass.eventpoint.com/topic/details/PD175CT " target="_blank"&gt;Energizing the Next Generation: Encouraging and Inspiring Young Women to Choose Tech Careers&lt;/a&gt;,”&amp;nbsp; which is scheduled for Noon on Tuesday 9 November.&lt;/p&gt; &lt;p&gt;If you look at the statistics from recent years, fewer women are choosing technical careers than ever before. We’re hoping that through this Chalk Talk, we can steer more women toward choosing technical careers. &lt;/p&gt; &lt;p&gt;As the date of the SQL PASS Summit approaches, I’ll be posting some of my thoughts on this topic, so stay tuned!&lt;/p&gt; &lt;p&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" title="Lady Runa dressed as Ada Lovelace" alt="Lady Runa dressed as Ada Lovelace" src="http://lh4.ggpht.com/_-OxZGzbaD0A/TKqE6HTJ86I/AAAAAAAAAB4/zAv5sADsuhQ/3818168858_2e12cdd47c%5B11%5D.jpg?imgmax=800" width="190" height="240"&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;em&gt;Lady Runa dressed as Ada Lovelace, a lovely lady who was also one of the first computer programmers.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-2571704647465162762?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/2571704647465162762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/10/sql-pass-chalk-talk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2571704647465162762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/2571704647465162762'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/10/sql-pass-chalk-talk.html' title='SQL Pass Chalk Talk'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_-OxZGzbaD0A/TKqE6HTJ86I/AAAAAAAAAB4/zAv5sADsuhQ/s72-c/3818168858_2e12cdd47c%5B11%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-185264884362519218</id><published>2010-10-01T16:07:00.001-07:00</published><updated>2010-10-01T18:38:05.360-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Telecommuting'/><title type='text'>Working from Home Two Days a Week</title><content type='html'>A big huzzah to my company. In the interest of being green, saving the planet, or making employees happy, Management has decided that they will allow all employees to sign up to work from home up to two days a week. They even let us pick the days – since traffic is worst at the end of the week, I picked Thursdays and Fridays. Of course when picking those days I completely forgot that everything is craziest on those two days, so I wind up working during the time I would normally have spent commuting. &lt;br /&gt;There are several advantages of working from home:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When work time starts you instantly beam from home to “work'” &lt;/li&gt;&lt;li&gt;When work time is over *poof* you’re home. &lt;/li&gt;&lt;li&gt;If you forget something on the kitchen table, it’s a quick dash across the house to get it.&lt;/li&gt;&lt;li&gt;Lunch can be something NOT cold and NOT microwaved &lt;/li&gt;&lt;li&gt;You can catch up on undone housework at lunchtime&lt;/li&gt;&lt;li&gt;Your second monitor can be a 43” television – perfect for those WebEx conferences&lt;/li&gt;&lt;li&gt;All calls can be on speakerphone so you don’t hurt your neck holding the phone to your ear&lt;/li&gt;&lt;li&gt;You can finish getting dressed while the computer boots up and logs onto the company network&lt;/li&gt;&lt;li&gt;The dress code is whatever you feel like putting on&lt;/li&gt;&lt;li&gt;If someone wants to talk to you, they have to call – which means you only have to listen to one conversation at a time.&lt;/li&gt;&lt;li&gt;You know exactly whose germs are on the things in the bathroom and in the kitchen.&lt;/li&gt;&lt;li&gt;No one hovers near your desk expecting you to pause what you’re doing to answer their “quick question” (which always turns into an hour long discussion and a major issue)&lt;/li&gt;&lt;li&gt;Lunchtime goat therapy sessions&lt;/li&gt;&lt;li&gt;Since your wireless is “in range” all over your property, you can work outside when the weather is nice&lt;/li&gt;&lt;li&gt;Nobody can accidentally take your lunch&lt;/li&gt;&lt;li&gt;The microwave doesn’t contain “mystery splatters”&lt;/li&gt;&lt;li&gt;The fridge is NOT scary&lt;/li&gt;&lt;li&gt;You can sleep &lt;typical commute="" length=""&gt; minutes longer in the morning &lt;/typical&gt;&lt;/li&gt;&lt;li&gt;You don't have to waste a vacation day sitting at home awaiting the repair man - you can work while your house is being fixed. &lt;/li&gt;&lt;/ul&gt;Unfortunately, working from home is not all fun and happiness. There are some disadvantages, too:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;EVERYONE is constantly IM’ing you and they get mad when you don’t respond instantly (because you’re answering someone else’s questions at the moment or are on the phone or lost that window under the ten other IM conversations you currently have going)&lt;/li&gt;&lt;li&gt;They get mad that they can’t talk to you because you’re already on phone with someone else&lt;/li&gt;&lt;li&gt;Undone housework haunts you – you see and sometimes smell the mess that you should’ve cleaned earlier&lt;/li&gt;&lt;li&gt;If you want to talk to someone you can’t just hover near their cubicle door until they notice you – when telecommuting, you have to call them and hope they aren’t screening your calls&lt;/li&gt;&lt;li&gt;You &lt;i&gt;always&lt;/i&gt; have to make the coffee&lt;/li&gt;&lt;li&gt;If you spill something on the floor, you actually have to clean it up yourself rather than “let the janitor do it”.&lt;/li&gt;&lt;li&gt;Bird droppings on the keyboard when working outside under a tree (note to self: ALWAYS check what is above you before sitting down outside)&lt;/li&gt;&lt;li&gt;People call you outside of work hours asking you to “do a few little things” since you can easily connect to the office&lt;/li&gt;&lt;li&gt;The VPN connection times out in the middle of meetings or the internet has a hiccup when you’re helping a customer&lt;/li&gt;&lt;li&gt;Your spouse expects that you’ll have time to run errands, shop for food, and prepare dinner in all your “spare” time because you aren’t driving a half hour each way&lt;/li&gt;&lt;li&gt;Collaboration among people is a bit more challenging since every group gathering requires a conference call&lt;/li&gt;&lt;/ul&gt;All in all, I think the advantages of telecommuting outweigh the disadvantages. I don’t think I’ll give it up just yet. Anyone have other commentary on telecommuting?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-185264884362519218?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/185264884362519218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/10/working-from-home-two-days-week.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/185264884362519218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/185264884362519218'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/10/working-from-home-two-days-week.html' title='Working from Home Two Days a Week'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-772721036306458086</id><published>2010-09-21T17:46:00.001-07:00</published><updated>2010-10-01T16:15:01.209-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Organizing'/><title type='text'>Annual Closet Clean Out Day</title><content type='html'>Every year in early autumn I purge my closet to remove the items I no longer wear. I started this system several years ago when I read about a method that helps you keep track of which items you actually wear, and which ones you don’t touch at all. I did refine the system slightly from its original version, and I believe I’ve been successful in reducing closet (and dresser) clutter.&lt;br /&gt;The original system is quite simple. It works best to start at the beginning of a season – I picked Fall because that’s when I first learned about the system, but you can start at any time. &lt;br /&gt;&lt;ul&gt;&lt;li&gt;For each item hung on a coat hanger, reverse the hanger so that the hook points out instead of into the closet. &lt;/li&gt;&lt;li&gt;Switch the hanger back to normal (with hook pointing into closet) as you wear (and launder) each item. This way, in a very short time, you will clearly see which items are your favorites – they’re the first to have the hangers turned – and which are items you tend to avoid.&lt;/li&gt;&lt;li&gt;At the end of a year cycle, any items still hanging on a reversed hanger are candidates for purging. &lt;/li&gt;&lt;/ul&gt;Since I have a fair amount of clothing folded on shelves and in my dresser, I added a method for tracking the use of those folded items –&amp;nbsp; a safety pin stuck through the washing instructions tag – which is easily removed just before wearing the item. &lt;br /&gt;At the end of each season, I evaluate the items marked for potential purging by checking which ones still have safety pins in their tags or hang on reversed hangers. I then evaluate the purge candidates using a few simple rules:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;If the item is clearly one that is specific to a different season (I’m certainly NOT going to wear a turtleneck sweater in summer), it is not considered for purging – yet.&lt;/li&gt;&lt;li&gt;Specialty items such as interview jackets, formal gowns and the like are evaluated as to whether or not they are still considered stylish and worth hanging onto.&lt;/li&gt;&lt;li&gt;For the rest of the purge candidates, I ask myself why I didn’t wear it. Was the weather this past season ever appropriate for it? Does it actually fit? Do I like it? And finally,can it be restyled into something that I would wear? &lt;/li&gt;&lt;/ul&gt;This past weekend, I purged about a dozen tops and dresses that I refused to wear because I didn’t like the color, styling or fit. Four other items that were marked for purging escaped this season’s purge because I recognized that I could alter them to make them work for me – two dresses were shortened to knee length (they originally fell to an unflattering length in the middle of my calf), a too-short mini-dress was shortened to t-shirt length and taken in at the sides to provide some shaping, and a t-shirt was chopped down from oversized XXL to a nice baby-doll style.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-772721036306458086?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/772721036306458086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/09/annual-closet-clean-out-day.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/772721036306458086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/772721036306458086'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/09/annual-closet-clean-out-day.html' title='Annual Closet Clean Out Day'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-7667757012038260813</id><published>2010-07-22T10:01:00.001-07:00</published><updated>2010-07-22T10:12:37.640-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life Balance'/><category scheme='http://www.blogger.com/atom/ns#' term='sewing'/><title type='text'>Vacation is NOT Work Time</title><content type='html'>I’m taking two days off work to sew (wait, why I am blogging instead of sewing?) and to “use up” vacation time because my boss reminded me that working without an occasional break for vacation is unhealthy. Thus, my two “mental health” days are for me to stay away from the office and do anything &lt;em&gt;except&lt;/em&gt; work. &lt;br /&gt;&lt;br /&gt;So far, I’ve succeeded in that. My work computer is sitting in its bag in the closet and I’ve only used my blackberry once – to call my husband because he couldn’t find HIS blackberry. I did peek at the emails that had popped in overnight, but I did my best to ignore them. Vacation is a time to PLAY, not to WORK. If you take your work along while vacationing, then you aren’t actually on vacation, you’re working remotely.&lt;br /&gt;&lt;br /&gt;Technically, one could state that I am “working” right now even though I’m not currently doing the work that my company pays me to do. That is, my job requires me to use a computer all day, so technically speaking I’m “working” rather than “playing”. Of course, the only way I could officially stay away from any computer all day would be for me to break out my antique Singer sewing machine (Model 60 made in 1949) and use that to sew. My Bernina 830e, Pfaff Creative Vision, and Janome 10001 are all “sewing computers” that can be connected to our home network or to other computers.&lt;br /&gt;&lt;br /&gt;Also, if I were to avoid my home laptop, I wouldn’t be able to use my pattern drafting software to create and print out new patterns to sew nor would I be able to search through my 50,000+ embroidery designs to pick just the right ones for my latest projects. These are, of course, simply excuses. I have several patterns already printed, cut and waiting to be sewn. &lt;br /&gt;&lt;br /&gt;A very wise person once defined a “good” vacation as one that was fun enough that you forget your passwords when you return to work and a “great” vacation as one that was fantastic enough that you forget where you work and what you do. I don’t think a 4-day weekend of sewing will get me to “great” vacation mode, but I did write my password on a post-it note that I pinned to my work bag just in case this short break turned out to be great.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-7667757012038260813?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/7667757012038260813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/vacation-is-not-work-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/7667757012038260813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/7667757012038260813'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/vacation-is-not-work-time.html' title='Vacation is NOT Work Time'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-8128783300323594110</id><published>2010-07-20T18:53:00.001-07:00</published><updated>2010-10-01T16:15:57.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><title type='text'>What a Difference 17 years makes</title><content type='html'>Our dryer finally gave up the ghost about 2 weeks ago. Since both the washer and dryer were over 17 years old, we decided that fixing the dryer wouldn’t be worthwhile in the long run and that having a new dryer with an old washer was a bit silly. So we bit the bullet and picked out a shiny new Maytag High Efficiency washer and dryer set in white – funky colored appliances look more like toys than real machines.&lt;br /&gt;Since about 3 days following the death of our dryer, I have had the urge to dye a few items to colors that were more agreeable to me. Of course, without a dryer, dyeing fabric is out of the question – the dryer is what sets the dye, so if it’s not heat-set, the dye will escape from the item you wanted to be that color and stick to items that you didn’t want to be that color – skin included. Not fun when you use green or blue dye (wait – Avatar skin? more like Smurf skin… Never mind). &lt;br /&gt;Saturday morning, just prior to the scheduled delivery of the new set and removal of the old set, I mentioned to hubby that I really wanted to dye this set of items and showed him the dye packet. He Spocked an eyebrow at me, apparently thinking that I was planning to break in the new appliances by staining them with dye. I pointed out that the old washer was perfectly functional, but I would need to use the new dryer to set the dyes – and they wouldn’t stain the dryer (I hope!!) He looked a bit unimpressed.&lt;br /&gt;The old washer finished the dye job just as the delivery truck arrived, and I quickly stashed the wet, newly dyed items into the utility sink to (partially) hide them. &lt;br /&gt;During installation, we discovered the source of the “smell” that we’d noticed in the basement a few months ago – a bird had gotten into the dryer vent hose and died near the entrance to the dryer. The installer told us that we were supposed to clean the dryer hose at least once a year. Really??? The moment he pulled the hose off the old dryer was the first time it had been detached since the day we first brought it home. Oops. At least the bird was simply “cooked” rather than burned. &lt;br /&gt;Nearly two hours later, the new machines were in place. I heard a merry little tune sound twice and assumed that was the delivery man’s cell phone, and was impressed that he ignored it since so many people these days instantly answer their cell phones regardless of where they are or what they’re doing. I then noticed that he tapped the power button on the dryer and the little tune sounded again. How cute – the new machine has its own startup song. I’ll have to find out how to hack the washer to change the tune to something more interesting. Will the washer “blue screen” on me? It’s a Maytag…right? I don’t think Maytag’s OS is Windows…maybe we should have kept the old one.&lt;br /&gt;So what’s changed in the 17 years since our old Maytag machines came out and these new ones? Aside from the obvious change from totally mechanical to computerized?&lt;br /&gt;&lt;ul&gt;&lt;li&gt;More temperature combinations – in addition to cold/cold, warm/cold, and hot/cold, we have cool/cold and warm/warm. What’s with “cool”? I guess that’s similar to warm, but more like water temp when the hot water heater is nearly out of hot water&lt;/li&gt;&lt;li&gt;Little reservoirs for detergent, bleach, “Oxi” (whatever THAT is) and Fabric softener. The old one just had a reservoir for bleach – and you dumped detergent in before filling and adding clothing&lt;/li&gt;&lt;li&gt;No agitator – well, actually there is a little hump in the middle, but not the tall thing that we’re used to.&lt;/li&gt;&lt;li&gt;5.0 cubic ft space – big enough to actually wash two pillows or a king size comforter. SWEET. We never could wash the comforter or pillows before because they wouldn’t fit. Guess what items I washed FIRST? Pillows! (as an aside, I noted that hubby’s snoring decreased AND my allergies abated significantly. Co-incidence? Probably not)&lt;/li&gt;&lt;li&gt;A “cycle is finished” signal on both washer and dryer. The beep sounds very much like a typical pager – I’ve got to find the hack for the sound files, because we have too many devices that beep like that.&lt;/li&gt;&lt;li&gt;Clear glass doors for both appliances. We can watch the machine do its job. Yes, we watched the pillows being washed. They fluffed up like marshmallows in a microwave part way through the spin cycle then flattened out into blobs.&lt;/li&gt;&lt;li&gt;“Warp three” sound when the spin cycle engages. (Yes, the first time hubby heard the machine go into spin cycle he shouted, “warp factor three!”). Oh, and it fiddles with the spin rate to force the load to balance before it goes to “warp three”. No more kerthunk kerthunk noise from the washer because this one automatically balances the load. You can also tell it what the maximum spin speed (warp factor) allowed is.&lt;/li&gt;&lt;li&gt;A light in the dryer. Our old dryer had black internal drum and because the laundry room’s lighting has always been bad, I usually had to run my hand around inside the dryer to confirm that I’d found everything that had to be removed. With the bright light and white dryer drum, I can see every last sock that’s hiding in the dryer. &lt;/li&gt;&lt;/ul&gt;Oh, and a note to my friend W.S., wife of home inspection man: you can rest easy – the new dryer hose is a metal one and the dead bird from the old plastic hose has been buried.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-8128783300323594110?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/8128783300323594110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/what-difference-17-years-makes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8128783300323594110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/8128783300323594110'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/what-difference-17-years-makes.html' title='What a Difference 17 years makes'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-3547681419579465683</id><published>2010-07-08T18:44:00.001-07:00</published><updated>2010-07-08T18:47:50.435-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Goats'/><title type='text'>Annual Bath Day for the Goats</title><content type='html'>The mercury crept up into the mid-90s today, making it the hottest day of the year so far. Following a tradition that I started when we adopted our first herd of goats, I declared it Caprine bath day – the day when the goats take their annual bath, whether or not (in &lt;em&gt;their&lt;/em&gt; opinion)&amp;nbsp; they need it. Clad in a bathing suit and rubber boots, I armed myself with the hose and a bottle of shampoo and headed down to the barn. &lt;br /&gt;The first “volunteer” was Planchet, a two-year old Alpine pack goat who has mastered the art of butting the other goats into the fence to test the strength of the electric shocks of the fence wire. He’s always looking for a way to escape, and I swear I caught him reading “Goat of Fortune” magazine one afternoon. As soon as the cold hose water hit him, he leaned toward me and started drinking from the stream. He wasn’t too thrilled about the soap, but later I realized that was probably only because I put the hose down to apply it. Planchet didn’t seem to be too excited about going back into the barn, but I did have 4 other goats to bathe, so too bad for him. &lt;br /&gt;Athos, the last of our original herd and an ancient (for goats) 14 years old, was next in line for the treatment. He’s mellowed out over the years and has learned that the less fuss and complaining he does, the quicker the bath. He grabbed a leafy snack on the way to the shower area and chewed on it while I washed him.&lt;br /&gt;Grimmaud, Planchet’s half-brother, was next. Unlike Planchet, Grimmaud clearly does not believe in baths and he did his best to run away by winding the leash around the pole until he was stuck. He complained and leaned away while I scrubbed him and he refused to even attempt to drink from the hose. When I returned him to the barn, and called for the next volunteer, Planchet trotted over and tried to slip through the gate, apparently thinking that it was his turn again. &lt;br /&gt;I finally snagged Wladyclaw, a yearling Oberhasli, and brought him over to the shower area. Wladyclaw seemed to enjoy the cooling power of the cold water, but he wasn’t quite as excited about it as Planchet had been. He also kept twisting his head back to sniff at the shampoo. Apparently, he wasn’t too keen on the scent – I suppose he’s got some idea of what a goat ought to smell like and shampoo isn’t it.&lt;br /&gt;Miklos, Wladyclaw’s brother, was scheduled for the final shower. He did have to nudge aside Planchet because Planchet was trying to sneak out for a second turn under the hose. Miklos is another goat who believes that he doesn’t need a shower and he clearly hates having the cold water spray on or near his tail. Every time I aimed the hose toward his back end, he’d hunker down as if he were going to sit like a dog (goats don’t “sit” – they either stand or lie down). He eagerly ran back to the barn as soon as I released him. I’m not sure if he was simply enthusiastic about the concept of getting dinner, or that he really was trying to escape from the hose. Regardless, it’s going to be almost a year before he has to have another bath and I’m sure he’s thankful for that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-3547681419579465683?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/3547681419579465683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/annual-bath-day-for-goats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3547681419579465683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/3547681419579465683'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/annual-bath-day-for-goats.html' title='Annual Bath Day for the Goats'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-4951926686331416473</id><published>2010-07-08T08:26:00.000-07:00</published><updated>2010-07-08T08:29:25.244-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><title type='text'>Yelling at the computer</title><content type='html'>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I should know by now that yelling at my computer doesn't help the situation, although it does make me feel better. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Last night I was fighting with Windows Live - apparently it wanted to validate my email address, but insisted that it validate the one associated to my Windows Live ID, which is a defunct email address. I'd created the ID years ago and never found a way to correct the email address, but since the ID provided the access I needed, I didn't worry about it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Unfortunately Windows Live Blogging DOES care whether the email is valid, and if your cookies are cleared, it'll suddenly insist that you validate your email address - without&amp;nbsp;providing&amp;nbsp;the option of corrrecting said email address. On top of that,&amp;nbsp;every time the page refreshed, it would ask me about 10 times if I want activeX or a script to run. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;That's when I started yelling a the computer - if I'm returning to a page I was just on and I already said that it was OK to run ActiveX or a particular script then &lt;em&gt;don't ask me again&lt;/em&gt; about it, just run it. After about two hours of fighting with Windows Live and IE's incessant popups, I gave up. It may have won the battle, but I was determined to win the war.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;This morning, I logged onto Windows Live using a more obediant Windows XP computer (I suspect that this one behaves better because I have the Hosts file tuned to alias most advertising / annoyance URLs to 127.0.0.1), and&amp;nbsp;magically stumbled upon the page I was seeking, namely the one that allowed me to change my&amp;nbsp;Windows Live ID email address from&amp;nbsp;defunct email address to&amp;nbsp;a current email address and to&amp;nbsp;kill that blog once and for all.&amp;nbsp;&amp;nbsp;All that without the incessant "do you want me to run this script?" popups or the yelling.&amp;nbsp;There was a&amp;nbsp;small amount of evil laughter,&amp;nbsp;followed by "Die! Die! Die!", but I digress.&amp;nbsp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-4951926686331416473?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/4951926686331416473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/yelling-at-computer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/4951926686331416473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/4951926686331416473'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/yelling-at-computer.html' title='Yelling at the computer'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-6722945367780005128</id><published>2010-07-07T21:46:00.000-07:00</published><updated>2010-07-07T21:46:27.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><title type='text'>Tuesday Evening Randomness</title><content type='html'>I am slowly discovering the new features and quirks of Windows 7. I’ve noticed that if I accidentally bump the mouse button while attempting to move a window near the top of the screen, it will decide that what I meant to do was ask it to maximize the window. No, I just want to move the window a bit to the right so I can see something else that’s partially obscured by the current window. Please restore the window to its previous size and let me get on with my fiddling. Thanks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I’m still getting used to the Windows 7 concept of “libraries”. I’m not sure whether or not I actually like them. I always get a little twitchy when the system attempts to file things for me automatically. I will organize my stuff the way I want it and I don't want to feel like there are multiple copies of the same item strewn about my hard drive. Yes, I have room for duplicates, but I don't want them unless I make them myself.&lt;br /&gt;Another Windows 7 idiosyncrasy that gets to me, though perhaps there’s some logical explanation for it, is the fact that there is now both a “C:\Program Files” and “C:\Program Files (x86)” directory. I can only surmise that it is because one of those directories holds the 64-bit items and the other holds the 32-bit items, and Windows 7 was designed to use a different set of DLLs to work with each type. Why this can’t be accomplished in a single directory is beyond me, but I suppose someone thought it would be sensible to divide the applications up like that. Perhaps this is a foreshadowing to the time when 32-bit programs are no longer going to be supported, and the legacy applications directory will simply be removed in an electronic sweep. For some reason this brings to mind my dusty collection of 5.25” disks.&lt;br /&gt;&lt;br /&gt;Earlier Tuesday evening, I discovered the games menu and found myself playing Galapago, a puzzle game in which you switch a pair of tiles to make a row or column of 3 or more tiles of the same design to make them disappear. It’s strangely addictive. The pictures on the tile are cute renditions of various little bugs and lizards one can find on the Galapagos Islands. I seriously doubt that the blue glowing lizard that when matched as a set of three will blast away the complete row or column of tiles with a electric bolt is a real critter – but if it is, there’s one more “must miss vacation spot” on my list.&lt;br /&gt;&lt;br /&gt;To top off my week, Tuesday's mission to complete the laundry hit an unpleasant and potentially expensive obstacle: the dryer is dead. I checked the circuit breaker – even flipped the switch back and forth a few times to be certain it’s set to “on” – and fiddled with the dryer’s plug. It is &lt;em&gt;not&lt;/em&gt; resting. It is definitely deceased. It has gone to meet its maker. It is an &lt;strong&gt;ex&lt;/strong&gt;-dryer. (&lt;em&gt;with apologies to Monty Python&lt;/em&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-6722945367780005128?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/6722945367780005128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/tuesday-evening-randomness.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6722945367780005128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6722945367780005128'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/tuesday-evening-randomness.html' title='Tuesday Evening Randomness'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3254231911009496543.post-6083797930067336007</id><published>2010-07-07T21:43:00.000-07:00</published><updated>2010-07-07T21:43:33.041-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computers'/><title type='text'>Two crows on wires = new laptop</title><content type='html'>Funny how things turn out – thanks to two crows who decided to “complete the circuit” last&amp;nbsp;Friday morning causing a power outage (and power surge) that managed to murder one of our old computers, my husband decided that we should purchase a new laptop for me and that he would take my old laptop and use that to replace the now deceased machine. So early Saturday morning, we headed over to Best Buy to purchase a new laptop for me, totally unaware of what would actually happen. I compared all of the machines available and settled on a Toshiba Satellite with four Intel Core i7 processors and NVIDIA display – a machine optimized for video processing and gaming. &lt;br /&gt;&lt;br /&gt;He got that sparkly look in his eye and said, “THIS would be great for making AMVs.”&lt;br /&gt;&lt;br /&gt;“Yes, “ I replied, “but we’re shopping for a laptop for ME.”&lt;br /&gt;&lt;br /&gt;“But look at this, and this, and THIS – it’s PERFECT for making AMVs and it can handle playing those 60 frame/second videos and…” blah blah blah blah AMV blah blah blah Video performance blah blah blah blah blah blah….&lt;br /&gt;&lt;br /&gt;“Ok, so I guess that means YOU are getting a new laptop and I’m stuck with the dying antique,” I said.&lt;br /&gt;&lt;br /&gt;“No! I want to get a new laptop for you!” he replied.&lt;br /&gt;&lt;br /&gt;“You’re not going to use my new machine, you know,” I warned.&lt;br /&gt;&lt;br /&gt;“But….it’s….” he stammered. &lt;br /&gt;&lt;br /&gt;A lightbulb in my head turned on. “Let’s get two of them – one for me and one for you.” I suggested. &lt;br /&gt;&lt;br /&gt;He blinked several times. I could see the thought processes running as his face showed several expressions. He opened the checkbook and thumbed through it. Various numbers and calculations floated in the air above his head. “You sure?” he asked.&lt;br /&gt;&lt;br /&gt;“You are NOT using MY laptop, so you have to get your own. We can put stickers on them to identify whose is whose,” I replied.&lt;br /&gt;&lt;br /&gt;He nodded and grabbed the salesperson. &lt;br /&gt;&lt;br /&gt;That afternoon, we came home with a matched pair of shiny new laptops that desperately needed names. I chose Chiyo-chan because the only stickers I was able to dig up were from a set of Azumanga Daiyo stickers that we had stuffed into the back cover of a notebook.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3254231911009496543-6083797930067336007?l=ladyruna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ladyruna.blogspot.com/feeds/6083797930067336007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ladyruna.blogspot.com/2010/07/two-crows-on-wires-new-laptop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6083797930067336007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3254231911009496543/posts/default/6083797930067336007'/><link rel='alternate' type='text/html' href='http://ladyruna.blogspot.com/2010/07/two-crows-on-wires-new-laptop.html' title='Two crows on wires = new laptop'/><author><name>Lady Runa</name><uri>http://www.blogger.com/profile/07730357796719636795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://3.bp.blogspot.com/_-OxZGzbaD0A/TDVcoQB-RKI/AAAAAAAAAAo/v-HdVOlbooQ/S220/Runa+(2).bmp'/></author><thr:total>0</thr:total></entry></feed>
