<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Chris Barba</title>
        <link>http://www.drowningintechnicaldebt.com/ChrisBarba/Default.aspx</link>
        <description>Random Technical Thoughts</description>
        <language>en-US</language>
        <copyright>Chris Barba</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <image>
            <title>Chris Barba</title>
            <url>http://www.drowningintechnicaldebt.com/images/RSS2Image.gif</url>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Variations quit propagating</title>
            <category>SharePoint 2007</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/variations-quit-propagating.aspx</link>
            <description>&lt;p&gt;If variations quit working, the it could be the relationship list (hidden list in the root site) could be corrupt. &lt;br /&gt;
This could happen when you copy sites/pages from the target site back to the source site. &lt;/p&gt;
&lt;p&gt;The easiest way to fix is run the variations editor. &lt;br /&gt;
&lt;a href="http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231%2D5770%2D4c2d%2Da99c%2Dc7c6e5fec1a7&amp;amp;ID=21"&gt;http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231%2D5770%2D4c2d%2Da99c%2Dc7c6e5fec1a7&amp;amp;ID=21&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;You have to run the tool on the front end server (just on one of them if you have multiple, SharePoint will propagate the changes to any other front end servers).  You just download the zip file and extract the files to a folder, it doesn't install anything there is just a .exe (SharePoint Variations Editor.exe) file to run. &lt;/p&gt;
&lt;p&gt;You have to enter the url for your site (ex, &lt;a href="http://www.blah.com/en/pages/home.aspx"&gt;http://www.blah.com/en/pages/home.aspx&lt;/a&gt;), then click the scan button (next the text box you entered the url, looks kind of like a site icon). &lt;/p&gt;
&lt;p&gt;It will scan all your sites (progress bar (with % complete) at the bottom) and show your site structure. &lt;/p&gt;
&lt;p&gt;The very last 2 nodes will include any warnings or errors. &lt;/p&gt;
&lt;p&gt;For each error on a page, select the page, check the check box, then click green button in the toolbar. &lt;/p&gt;
&lt;p&gt;For each error on a site, you will need to look up that site's group in the hidden relationship list (&lt;a href="http://demo/Relationships%20List/AllItems.aspx"&gt;http://demo/Relationships%20List/AllItems.aspx&lt;/a&gt;).  Look for that site in a different variation and get the group id from that site.  You will have to rescan after making these changes. &lt;/p&gt;
&lt;p&gt;After that propagation will continue to work and any page not propagated will be propagated to the target sites. &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;This blog summarizes a couple of other blogs I learned from (I want to give credit where credit is due.) &lt;br /&gt;
&lt;a title="http://stsadm.blogspot.com/2008/04/fun-with-variations.html" href="http://stsadm.blogspot.com/2008/04/fun-with-variations.html"&gt;http://stsadm.blogspot.com/2008/04/fun-with-variations.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a title="http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231%2D5770%2D4c2d%2Da99c%2Dc7c6e5fec1a7&amp;amp;ID=21" href="http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231%2D5770%2D4c2d%2Da99c%2Dc7c6e5fec1a7&amp;amp;ID=21"&gt;http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231%2D5770%2D4c2d%2Da99c%2Dc7c6e5fec1a7&amp;amp;ID=21&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/644.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/variations-quit-propagating.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:06:14 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/644.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/variations-quit-propagating.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/644.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/644.aspx</trackback:ping>
        </item>
        <item>
            <title>Search across all fields in all tables in SQL server</title>
            <category>T-SQL</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/search-across-all-fields-in-all-tables-in-sql-server.aspx</link>
            <description>I found this script that allows you to search across all fields in all tables of a database for a specific string. It’s helpful when you trying to where data might be stored in a strange/large/new database that you are not intimately familiar with. Being a consultant I have found myself digging though a clients database many times trying to figure how the data is stored and this has saved me from looking in every table manually. I did not come up with this code myself, but I didn’t save the link of the blog where I found it. So unfortunately I can’t give credit to the smart person who came up with it. To use it just set the value of @SearchStr (highlighted in red) to the string you wish to search for. &lt;blockquote&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;CREATE&lt;/span&gt; &lt;span class="kwrd"&gt;TABLE&lt;/span&gt; #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))
&lt;span class="kwrd"&gt;DECLARE&lt;/span&gt; @SearchStr nvarchar(100)
&lt;span class="kwrd"&gt;DECLARE&lt;/span&gt; @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)
&lt;span class="kwrd"&gt;SET&lt;/span&gt; @TableName = &lt;span class="str"&gt;''&lt;/span&gt;
&lt;strong&gt;&lt;span style="COLOR: #ff0000"&gt;&lt;span class="kwrd"&gt;SET&lt;/span&gt; @SearchStr = &lt;span class="str"&gt;'string to search for'&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;
&lt;span class="kwrd"&gt;SET&lt;/span&gt; @SearchStr2 = QUOTENAME(&lt;span class="str"&gt;'%'&lt;/span&gt; + @SearchStr + &lt;span class="str"&gt;'%'&lt;/span&gt;,&lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt;)
&lt;span class="kwrd"&gt;WHILE&lt;/span&gt; @TableName &lt;span class="kwrd"&gt;IS&lt;/span&gt; &lt;span class="kwrd"&gt;NOT&lt;/span&gt; &lt;span class="kwrd"&gt;NULL&lt;/span&gt;
&lt;span class="kwrd"&gt;BEGIN&lt;/span&gt;
&lt;span class="kwrd"&gt;SET&lt;/span&gt; @ColumnName = &lt;span class="str"&gt;''&lt;/span&gt;
&lt;span class="kwrd"&gt;SET&lt;/span&gt; @TableName =
(
&lt;span class="kwrd"&gt;SELECT&lt;/span&gt; &lt;span class="kwrd"&gt;MIN&lt;/span&gt;(QUOTENAME(TABLE_SCHEMA) + &lt;span class="str"&gt;'.'&lt;/span&gt; + QUOTENAME(TABLE_NAME))
&lt;span class="kwrd"&gt;FROM&lt;/span&gt; INFORMATION_SCHEMA.TABLES
&lt;span class="kwrd"&gt;WHERE&lt;/span&gt; TABLE_TYPE = &lt;span class="str"&gt;'BASE TABLE'&lt;/span&gt;
&lt;span class="kwrd"&gt;AND&lt;/span&gt; QUOTENAME(TABLE_SCHEMA) + &lt;span class="str"&gt;'.'&lt;/span&gt; + QUOTENAME(TABLE_NAME) &amp;gt; @TableName
&lt;span class="kwrd"&gt;AND&lt;/span&gt; OBJECTPROPERTY(
OBJECT_ID(
QUOTENAME(TABLE_SCHEMA) + &lt;span class="str"&gt;'.'&lt;/span&gt; + QUOTENAME(TABLE_NAME)
), &lt;span class="str"&gt;'IsMSShipped'&lt;/span&gt;
) = 0
)
&lt;span class="kwrd"&gt;WHILE&lt;/span&gt; (@TableName &lt;span class="kwrd"&gt;IS&lt;/span&gt; &lt;span class="kwrd"&gt;NOT&lt;/span&gt; &lt;span class="kwrd"&gt;NULL&lt;/span&gt;) &lt;span class="kwrd"&gt;AND&lt;/span&gt; (@ColumnName &lt;span class="kwrd"&gt;IS&lt;/span&gt; &lt;span class="kwrd"&gt;NOT&lt;/span&gt; &lt;span class="kwrd"&gt;NULL&lt;/span&gt;)
&lt;span class="kwrd"&gt;BEGIN&lt;/span&gt;
&lt;span class="kwrd"&gt;SET&lt;/span&gt; @ColumnName =
(
&lt;span class="kwrd"&gt;SELECT&lt;/span&gt; &lt;span class="kwrd"&gt;MIN&lt;/span&gt;(QUOTENAME(COLUMN_NAME))
&lt;span class="kwrd"&gt;FROM&lt;/span&gt; INFORMATION_SCHEMA.COLUMNS
&lt;span class="kwrd"&gt;WHERE&lt;/span&gt; TABLE_SCHEMA = PARSENAME(@TableName, 2)
&lt;span class="kwrd"&gt;AND&lt;/span&gt; TABLE_NAME = PARSENAME(@TableName, 1)
&lt;span class="kwrd"&gt;AND&lt;/span&gt; DATA_TYPE &lt;span class="kwrd"&gt;IN&lt;/span&gt; (&lt;span class="str"&gt;'char'&lt;/span&gt;, &lt;span class="str"&gt;'varchar'&lt;/span&gt;, &lt;span class="str"&gt;'nchar'&lt;/span&gt;, &lt;span class="str"&gt;'nvarchar'&lt;/span&gt;)
&lt;span class="kwrd"&gt;AND&lt;/span&gt; QUOTENAME(COLUMN_NAME) &amp;gt; @ColumnName
)
&lt;span class="kwrd"&gt;IF&lt;/span&gt; @ColumnName &lt;span class="kwrd"&gt;IS&lt;/span&gt; &lt;span class="kwrd"&gt;NOT&lt;/span&gt; &lt;span class="kwrd"&gt;NULL&lt;/span&gt;
&lt;span class="kwrd"&gt;BEGIN&lt;/span&gt;
INSERT &lt;span class="kwrd"&gt;INTO&lt;/span&gt; #Results
&lt;span class="kwrd"&gt;EXEC&lt;/span&gt;
(
&lt;span class="str"&gt;'SELECT '&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt; + @TableName + &lt;span class="str"&gt;'.'&lt;/span&gt; + @ColumnName + &lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;', LEFT('&lt;/span&gt; + @ColumnName + &lt;span class="str"&gt;', 3630)
FROM '&lt;/span&gt; + @TableName + &lt;span class="str"&gt;' (NOLOCK) '&lt;/span&gt; +
&lt;span class="str"&gt;' WHERE '&lt;/span&gt; + @ColumnName + &lt;span class="str"&gt;' LIKE '&lt;/span&gt; + @SearchStr2
)
&lt;span class="kwrd"&gt;END&lt;/span&gt;
&lt;span class="kwrd"&gt;END&lt;/span&gt;
&lt;span class="kwrd"&gt;END&lt;/span&gt;
&lt;span class="kwrd"&gt;SELECT&lt;/span&gt; ColumnName, ColumnValue &lt;span class="kwrd"&gt;FROM&lt;/span&gt; #Results
&lt;span class="kwrd"&gt;DROP&lt;/span&gt; &lt;span class="kwrd"&gt;TABLE&lt;/span&gt; #Results&lt;/pre&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;div style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:fe29ce6e-47b0-4e7d-b387-b67bceb596a1" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/TSQL"&gt;TSQL&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/T-SQL"&gt;T-SQL&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/Search"&gt;Search&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/643.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/search-across-all-fields-in-all-tables-in-sql-server.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:05:34 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/643.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/search-across-all-fields-in-all-tables-in-sql-server.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/643.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/643.aspx</trackback:ping>
        </item>
        <item>
            <title>SharePoint performance tips</title>
            <category>SharePoint 2007</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/sharepoint-performance-tips.aspx</link>
            <description>&lt;p&gt;I attended the SharePoint Saturday today and attended a session on SharePoint optimal performance by &lt;a target="_blank" href="http://www.binarywave.com/blogs/eshupps/default.aspx"&gt;Eric Shupps&lt;/a&gt;.  Here are a few of the tips I learned today.&lt;/p&gt;
&lt;p&gt;Have a separate server (not available to users) to host search indexes.&lt;/p&gt;
&lt;p&gt;Change the default SQL growth from 1 mb, 10% to 100 mb, 250%.&lt;/p&gt;
&lt;p&gt;Isolate the SharePoint DB, do not put any other databases on the same server as the SharePoint DB.&lt;/p&gt;
&lt;p&gt;Create custom scopes with unique crawl schedules. If you have a specific site that needs to crawled more often than the other sites &lt;/p&gt;
&lt;p&gt;Enable manual compression on IIS 6/7.  You will need to balance between compression and cpu benefits (Compression increases CPU utilization on WFE's). &lt;/p&gt;
&lt;p&gt;Only things in the 12 hive can be compressed, things out of the database are not &lt;/p&gt;
&lt;p&gt;Windows 2008 does dynamic compression out of the box &lt;br /&gt;
Windows 2003 can turn on dynamic compression, but has limited improvement &lt;/p&gt;
&lt;p&gt;MOSS does caching right out of the box, wss does not &lt;br /&gt;
MOSS caches Pages, Objects, Disk (blob, ie documents) &lt;br /&gt;
Caching increases memory utilization &lt;/p&gt;
&lt;p&gt;Check the object cache &lt;br /&gt;
100 MB is kind of small, maybe increase 250-500 MB &lt;/p&gt;
&lt;p&gt;Setup cache profiles. &lt;br /&gt;
each site collection can be setup different &lt;br /&gt;
each zone can be setup different &lt;/p&gt;
&lt;p&gt;BLOB caching does not work right before the infrastructure update &lt;/p&gt;
&lt;p&gt;Check the output cache. &lt;br /&gt;
You can use the cache profiles you setup, which can be set for anonymous and/or windows auth.&lt;/p&gt;
&lt;p&gt;For further reading: &lt;br /&gt;
check out &lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/cc262067(TechNet.10).aspx"&gt;SharePoint 2007 performance ad scalability white paper&lt;/a&gt; check out &lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/cc787182.aspx"&gt;TechNet IIS performance tuning&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/642.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/sharepoint-performance-tips.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:03:17 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/642.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/sharepoint-performance-tips.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/642.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/642.aspx</trackback:ping>
        </item>
        <item>
            <title>Get Google results that matter</title>
            <category>Google</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/get-google-results-that-matter.aspx</link>
            <description>&lt;p&gt;More than once I have searched for something on Google and gotten back too many results that don’t matter.  One of the problems with IT is that everything moves and improves quickly.  It’s such a pain when get results that over 2 years old and don’t matter because the technology has moved on. &lt;br /&gt;
&lt;br /&gt;
Use the advanced search of Google to get results that are relevant.  You can tell Google what date range to use (how recent the page is), for example past week, past month, past year.  That way you will only get pages in the results that are from the your date range.  This helps when you’re working with bleeding edge technologies.&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/641.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/get-google-results-that-matter.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:03:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/641.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/get-google-results-that-matter.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/641.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/641.aspx</trackback:ping>
        </item>
        <item>
            <title>Optimize Firefox (speed it up)</title>
            <category>Firefox</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/optimize-firefox-speed-it-up.aspx</link>
            <description>&lt;p&gt;For Firefox being such a good browser, I was surprised to find out to find out that Firefox can run faster.  There are some Firefox settings that can be adjusted to speed up your browsing experience.&lt;/p&gt;
&lt;p&gt;Of course type &lt;strong&gt;about:config&lt;/strong&gt; in the address to get to the Firefox settings.  &lt;br /&gt;
&lt;br /&gt;
Change the following settings: &lt;br /&gt;
network.http.pipelining from false to true &lt;br /&gt;
network.http.pipelining.maxrequests from 4 to 15 &lt;br /&gt;
network.http.proxy.pipelining from false to true &lt;br /&gt;
&lt;br /&gt;
Then add a new entry nglayout.initialpaint.delay and set it’s value to 0.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
This will speed up your Firefox browsing experience.&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/640.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/optimize-firefox-speed-it-up.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:02:40 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/640.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/optimize-firefox-speed-it-up.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/640.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/640.aspx</trackback:ping>
        </item>
        <item>
            <title>Show desktop icon missing from quick launch</title>
            <category>Windows</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/show-desktop-icon-missing-from-quick-launch.aspx</link>
            <description>&lt;p&gt;Occasionally I end working on PC that is missing the show desktop icon.  I always end up looking for how to recreate it on Google.  &lt;/p&gt;
&lt;p&gt;In Windows XP, go the run command then type the following command: &lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
regsvr32 /n /i:u shell32.dll &lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
Then press enter.  A dialog will let you know it was successful. &lt;br /&gt;
The show desktop won’t be there until you reboot or type the following command: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;%appdata%\microsoft\internet explorer\quick launch &lt;br /&gt;
&lt;br /&gt;
&lt;/strong&gt;This will open a folder.  Then you can drag the show desktop icon to your quick launch bar (it will create a short cut in the folder that just opened up).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
In Vista, go to howtogeek.com and download the file labeled “ShowDesktop.zip”.  Open that file and drag the file it contains to the quick launch bar.&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/639.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/show-desktop-icon-missing-from-quick-launch.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:02:07 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/639.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/show-desktop-icon-missing-from-quick-launch.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/639.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/639.aspx</trackback:ping>
        </item>
        <item>
            <title>What to do with User Account Control in Vista</title>
            <category>Windows</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/what-to-do-with-user-account-control-in-vista.aspx</link>
            <description>&lt;p&gt;&lt;br /&gt;
Tired of Vista asking you if it’s okay to do anything, that’s the User Account Control (UAC).  You can turn it off or use free third party tools to adjust.&lt;/p&gt;
&lt;p&gt;I choose to turn it off because it is too annoying.  Just go the control panel-&amp;gt; user accounts.  Then click &lt;strong&gt;Turn User Account Control on or off&lt;/strong&gt;.  Click continue at the UAC prompt and on the next screen, uncheck the &lt;strong&gt;Use User Account Control (UAC) to help protect your computer. &lt;br /&gt;
&lt;br /&gt;
&lt;/strong&gt;That will turn off UAC and you won’t have to worry about it.&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/638.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/what-to-do-with-user-account-control-in-vista.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:01:28 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/638.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/what-to-do-with-user-account-control-in-vista.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/638.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/638.aspx</trackback:ping>
        </item>
        <item>
            <title>Excel 2007, determine count of rows in a spreadsheet</title>
            <category>VBA</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-rows-in-a-spreadsheet.aspx</link>
            <description>&lt;p&gt;I had to determine how many rows are in a speadsheet with VBA. &lt;br /&gt;
&lt;br /&gt;
Dim rowCount as Integer &lt;br /&gt;
rowCount = ActiveSheet.UsedRange.Rows.Count&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/637.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-rows-in-a-spreadsheet.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:01:09 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/637.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-rows-in-a-spreadsheet.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/637.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/637.aspx</trackback:ping>
        </item>
        <item>
            <title>Excel 2007, determine count of worksheets in a spreadsheet</title>
            <category>VBA</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-worksheets-in-a-spreadsheet.aspx</link>
            <description>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;If you need to know how many worksheets in a spreadsheet.&lt;/p&gt;  &lt;p&gt;Dim sheetCounter as Integer   &lt;br /&gt;sheetCounter = ThisWorkbook.Worksheets.Count&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/636.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-worksheets-in-a-spreadsheet.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 13:00:40 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/636.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/excel-2007-determine-count-of-worksheets-in-a-spreadsheet.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/636.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/636.aspx</trackback:ping>
        </item>
        <item>
            <title>Record count of all tables in a database</title>
            <category>T-SQL</category>
            <link>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/record-count-of-all-tables-in-a-database.aspx</link>
            <description>Here is a sql script that will give a count of all records in every table in your database. This comes from my friend &lt;a target="_blank" href="http://weblogs.asp.net/davidmccollough/default.aspx"&gt;David McCollough&lt;/a&gt;.
&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;CREATE&lt;/span&gt; &lt;span class="kwrd"&gt;TABLE&lt;/span&gt; #sizes ([name] nvarchar(200), 
&lt;span class="rem"&gt;-- BOL says (20), but that obviously wrong&lt;/span&gt;
             [&lt;span class="kwrd"&gt;rowcount&lt;/span&gt;] &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(25))
&lt;span class="kwrd"&gt;DECLARE&lt;/span&gt; @tablename &lt;span class="kwrd"&gt;VARCHAR&lt;/span&gt; (128)

&lt;span class="kwrd"&gt;DECLARE&lt;/span&gt; tables &lt;span class="kwrd"&gt;CURSOR&lt;/span&gt; &lt;span class="kwrd"&gt;FOR&lt;/span&gt;
   &lt;span class="kwrd"&gt;SELECT&lt;/span&gt; TABLE_NAME
   &lt;span class="kwrd"&gt;FROM&lt;/span&gt; INFORMATION_SCHEMA.TABLES
   &lt;span class="kwrd"&gt;WHERE&lt;/span&gt; TABLE_TYPE = &lt;span class="str"&gt;'BASE TABLE'&lt;/span&gt;
   &lt;span class="kwrd"&gt;order&lt;/span&gt; &lt;span class="kwrd"&gt;by&lt;/span&gt; TABLE_NAME

&lt;span class="rem"&gt;-- Open the cursor&lt;/span&gt;
&lt;span class="kwrd"&gt;OPEN&lt;/span&gt; tables

&lt;span class="rem"&gt;-- Loop through all the tables in the database&lt;/span&gt;
&lt;span class="kwrd"&gt;FETCH&lt;/span&gt; &lt;span class="kwrd"&gt;NEXT&lt;/span&gt;
   &lt;span class="kwrd"&gt;FROM&lt;/span&gt; tables
   &lt;span class="kwrd"&gt;INTO&lt;/span&gt; @tablename

&lt;span class="kwrd"&gt;WHILE&lt;/span&gt; &lt;span class="preproc"&gt;@@FETCH_STATUS&lt;/span&gt; = 0
&lt;span class="kwrd"&gt;BEGIN&lt;/span&gt;
  --&lt;span class="kwrd"&gt;print&lt;/span&gt; &lt;span class="str"&gt;'Insert into #sizes Select '&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt; +  @tablename + &lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;' as [name] ,count(*) from '&lt;/span&gt; + @tablename
  --&lt;span class="kwrd"&gt;exec&lt;/span&gt; (&lt;span class="str"&gt;'Insert into #sizes Select '&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt; +  @tablename + &lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;' as [name] ,count(*) from '&lt;/span&gt; + @tablename)
  --faster &lt;span class="kwrd"&gt;than&lt;/span&gt; &lt;span class="kwrd"&gt;select&lt;/span&gt; &lt;span class="kwrd"&gt;count&lt;/span&gt;(*)
  &lt;span class="kwrd"&gt;exec&lt;/span&gt; (&lt;span class="str"&gt;'Insert into #sizes Select '&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt; +  @tablename + &lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;' as [name],(SELECT rows FROM sysindexes WHERE id = OBJECT_ID('&lt;/span&gt;&lt;span class="str"&gt;''&lt;/span&gt; +  @tablename + &lt;span class="str"&gt;''&lt;/span&gt;&lt;span class="str"&gt;') AND indid &amp;lt; 2)'&lt;/span&gt;)
&lt;span class="kwrd"&gt;FETCH&lt;/span&gt; &lt;span class="kwrd"&gt;NEXT&lt;/span&gt;
   &lt;span class="kwrd"&gt;FROM&lt;/span&gt; tables
   &lt;span class="kwrd"&gt;INTO&lt;/span&gt; @tablename
&lt;span class="kwrd"&gt;END&lt;/span&gt;

&lt;span class="rem"&gt;-- Close and deallocate the cursor&lt;/span&gt;
&lt;span class="kwrd"&gt;CLOSE&lt;/span&gt; tables
&lt;span class="kwrd"&gt;DEALLOCATE&lt;/span&gt; tables

&lt;span class="kwrd"&gt;select&lt;/span&gt; * &lt;span class="kwrd"&gt;from&lt;/span&gt; #sizes &lt;span class="kwrd"&gt;Order&lt;/span&gt; &lt;span class="kwrd"&gt;by&lt;/span&gt; [name]
&lt;span class="kwrd"&gt;drop&lt;/span&gt; &lt;span class="kwrd"&gt;table&lt;/span&gt; #sizes&lt;/pre&gt;
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }&lt;img src="http://www.drowningintechnicaldebt.com/ChrisBarba/aggbug/635.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/record-count-of-all-tables-in-a-database.aspx</guid>
            <pubDate>Mon, 07 Dec 2009 12:59:36 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/635.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ChrisBarba/archive/2009/12/07/record-count-of-all-tables-in-a-database.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ChrisBarba/comments/commentRss/635.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ChrisBarba/services/trackbacks/635.aspx</trackback:ping>
        </item>
    </channel>
</rss>