<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://vendoran.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fvendoran.spaces.live.com%2fcategory%2fSQL%2bServer%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Aaron's space: SQL Server</title><description /><link>http://vendoran.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catSQL%2bServer</link><language>en-US</language><pubDate>Sun, 31 Aug 2008 04:01:28 GMT</pubDate><lastBuildDate>Sun, 31 Aug 2008 04:01:28 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://vendoran.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>-6797583155307990948</live:id><live:alias>vendoran</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>SQL Server Videos (SSV)</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!435.entry</link><description>&lt;p&gt;Just saw a post by &lt;a href="http://statisticsio.com/" target="_blank"&gt;Jason &lt;/a&gt;&lt;a href="http://statisticsio.com/Home/tabid/36/articleType/ArticleView/articleId/227/SQL-Server-Videos.aspx" target="_blank"&gt;here&lt;/a&gt; about &lt;a title="http://www.sqlservervideos.com/" href="http://www.sqlservervideos.com/"&gt;http://www.sqlservervideos.com/&lt;/a&gt;.  I immediately went to check it out and wasn't disappointed.  I especially liked the fact that they had 400 level videos.  So what are you waiting for?  Go check it out!&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+Server+Videos+(SSV)&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!435.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!435.entry</guid><pubDate>Fri, 29 Aug 2008 16:00:06 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!435/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!435.entry#comment</wfw:comment><dcterms:modified>2008-08-29T16:00:06Z</dcterms:modified></item><item><title>SQL Server 2008 includes Transparent Data Encryption</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!433.entry</link><description>&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!433.entry&amp;amp;;title=SQL Server 2008 includes Transparent Data Encryption" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!433.entry&amp;amp;title=SQL Server 2008 includes Transparent Data Encryption" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!433.entry&amp;amp;title=SQL Server 2008 includes Transparent Data Encryption" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!433.entry&amp;amp;title=SQL Server 2008 includes Transparent Data Encryption" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt; &lt;p&gt;&lt;i&gt;Transparent data encryption (TDE) performs real-time I/O encryption and decryption of the data and log files.&lt;/i&gt; &lt;p&gt;&lt;i&gt;Encryption of the database file is performed at the page level. The pages in an encrypted database are encrypted before they are written to disk and decrypted when read into memory.&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;&lt;i&gt;TDE provides the ability to comply with many laws, regulations, and guidelines established in various industries. This enables software developers to encrypt data by using AES and 3DES encryption algorithms without changing existing applications.&lt;/i&gt; &lt;p&gt;Check out a screencast about the new Transparent Data Encryption feature in SQL Server 2008 via MSN Video below, or if you prefer &lt;a href="http://www.youtube.com/watch?v=TnFdfUl39Hs" target="_blank"&gt;YouTube&lt;/a&gt; or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008|_dyn22|_TransparentDataEncryption.wmv" target="_blank"&gt;download&lt;/a&gt;. &lt;p&gt;  &lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+Server+2008+includes+Transparent+Data+Encryption&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!433.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!433.entry</guid><pubDate>Thu, 07 Aug 2008 16:40:14 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!433/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!433.entry#comment</wfw:comment><dcterms:modified>2008-08-07T16:40:53Z</dcterms:modified></item><item><title>SQL 2008 RTM today</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!431.entry</link><description>&lt;p&gt;Well it looks like SQL 2008 RTM'd at TechEd in South Africa.  Take a look at Aaron Bertrand's &lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2008/08/06/sql-server-2008-has-rtm-d.aspx" target="_blank"&gt;post&lt;/a&gt; or &lt;a href="http://www.sqlmag.com/Article/ArticleID/99953/99953.html" target="_blank"&gt;sqlmag&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+2008+RTM+today&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!431.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!431.entry</guid><pubDate>Wed, 06 Aug 2008 19:04:23 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!431/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!431.entry#comment</wfw:comment><dcterms:modified>2008-08-06T19:04:23Z</dcterms:modified></item><item><title>Did You Know? SQL Server 2008 includes Resource Governor</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!419.entry</link><description>&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!419.entry&amp;amp;;title=Did You Know? SQL Server 2008 includes Resource Governor" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!419.entry&amp;amp;title=Did You Know? SQL Server 2008 includes Resource Governor" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!419.entry&amp;amp;title=Did You Know? SQL Server 2008 includes Resource Governor" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!419.entry&amp;amp;title=Did You Know? SQL Server 2008 includes Resource Governor" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt; &lt;p&gt;&lt;i&gt;Resource Governor enables you to manage SQL Server workload and resources by specifying limits on resource consumption by incoming requests.&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;&lt;i&gt;In an environment where multiple distinct workloads are present on the same server, Resource Governor enables you to differentiate these workloads and allocate CPU and/or memory as they are requested, based on the limits that you specify. Resource Governor is designed to address the following types of resource issues which are commonly found in a database environment:&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;· &lt;i&gt;Run-away queries on the server&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;· &lt;i&gt;Unpredictable workload execution&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;· &lt;i&gt;Setting workload priority&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;Check out a screencast about the new Resource Governor feature in SQL Server 2008 via MSN Video below, or if you prefer &lt;a href="http://www.youtube.com/watch?v=9h-938pEhTw" target="_blank"&gt;Youtube&lt;/a&gt; or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008|_dyn18|_ResourceGovernor.wmv" target="_blank"&gt;download&lt;/a&gt;. &lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Did+You+Know%3f+SQL+Server+2008+includes+Resource+Governor&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!419.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!419.entry</guid><pubDate>Fri, 11 Jul 2008 18:24:57 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!419/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!419.entry#comment</wfw:comment><dcterms:modified>2008-07-11T18:26:39Z</dcterms:modified></item><item><title>Another SQL 2005 SP2 Cumulative Update</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!416.entry</link><description>&lt;p&gt;Well it's been about 6 weeks since the last Cumulative Update so it must be time for a new one.  So as of today (6/16/08) we now have 8 Cumulative Updates for SQL 2005 SP2 which you can get &lt;a href="http://support.microsoft.com/kb/951217/en-us" target="_blank"&gt;here&lt;/a&gt;.  I haven't downloaded it yet, but I can tell you that I can't wait until &lt;a href="http://blogs.technet.com/dataplatforminsider/archive/2008/04/15/sql-server-2005-sp3-coming-soon.aspx" target="_blank"&gt;SP3&lt;/a&gt; comes out.  I've installed all of them from CU1 through CU7 so far and actually found something interesting with CU6 and CU7.  CU1 through CU5 got progressively larger to the point that CU5 was around 200 MB if I remember correctly, however when I downloaded CU6 and then CU7 it was significantly smaller (under 20 MB) each, so not sure what happened there. &lt;p&gt;Anyway, as always the best place I have found to look for SQL version information is &lt;a href="http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx" target="_blank"&gt;SQLSecurity.com&lt;/a&gt;.  Although Microsoft also keeps one for 2005 &lt;a href="http://support.microsoft.com/kb/937137" target="_blank"&gt;here&lt;/a&gt; and SQL Server Central also keeps a list &lt;a href="http://www.sqlservercentral.com/articles/Administration/2960/" target="_blank"&gt;here&lt;/a&gt;.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Another+SQL+2005+SP2+Cumulative+Update&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!416.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!416.entry</guid><pubDate>Tue, 17 Jun 2008 03:20:26 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!416/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!416.entry#comment</wfw:comment><dcterms:modified>2008-06-17T03:20:26Z</dcterms:modified></item><item><title>Did you know? SQL Server 2008 includes Transact-SQL Debugger</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!415.entry</link><description>&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!415.entry&amp;amp;;title=Did you know? SQL Server 2008 includes Transact-SQL Debugger" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!415.entry&amp;amp;title=Did you know? SQL Server 2008 includes Transact-SQL Debugger" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!415.entry&amp;amp;title=Did you know? SQL Server 2008 includes Transact-SQL Debugger" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!415.entry&amp;amp;title=Did you know? SQL Server 2008 includes Transact-SQL Debugger" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt; &lt;p&gt;&lt;i&gt;The Transact-SQL debugger in SQL Server Management Studio enables you to find errors in Transact-SQL scripts, stored procedures, triggers, and functions by observing their run-time behavior. You can start the debugger when you are using the Database Engine Query Editor window. &lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;&lt;i&gt;By using the Transact-SQL debugger, you can do the following:&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;ul&gt; &lt;li&gt;&lt;i&gt;Step through the Transact-SQL statements in the editor line by line, or set breakpoints to stop at specific lines.&lt;/i&gt; &lt;li&gt;&lt;i&gt;Step into or over Transact-SQL stored procedures, functions, or triggers that are run by the code in the editor window.&lt;/i&gt; &lt;li&gt;&lt;i&gt;Watch the values that are assigned to variables, and observe system objects such as the call stack and threads.  &lt;/i&gt;&lt;/ul&gt; &lt;p&gt;Check out a screencast about the new T-SQL Debugger in SQL Server 2008 via MSN Video below, or if you prefer &lt;a href="http://www.youtube.com/watch?v=618LE_FZCxI" target="_blank"&gt;Youtube&lt;/a&gt; or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008|_dyn14|_t-sql|_debugger.wmv" target="_blank"&gt;download&lt;/a&gt;. &lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Did+you+know%3f+SQL+Server+2008+includes+Transact-SQL+Debugger&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!415.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!415.entry</guid><pubDate>Fri, 13 Jun 2008 18:39:35 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!415/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!415.entry#comment</wfw:comment><dcterms:modified>2008-06-13T18:42:25Z</dcterms:modified></item><item><title>SQL 2008 RC0 and New SQL Certification</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!407.entry</link><description>&lt;p&gt;SQL Server 2008 RC0 has been released to the public &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=35F53843-03F7-4ED5-8142-24A4C024CA05&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;.  It was released to MSDN and TechNet subscribers late last week, but now everyone can enjoy it. &lt;p&gt;Also looks like a new Certification has come out as well called the &lt;a href="http://www.microsoft.com/learning/mcp/master/default.mspx" target="_blank"&gt;Microsoft Certified Master&lt;/a&gt;.  This actually looks like a step in between the regular certs and the &lt;a href="http://www.microsoft.com/learning/mcp/architect/database/curriculum/default.mspx" target="_blank"&gt;SQL Certified Architect&lt;/a&gt; (SQL Ranger).  It requires that you have both the MCITP: DBA and MCITP: Developer and then attend 3 weeks of training, more info &lt;a href="http://www.microsoft.com/learning/mcp/master/products/default.mspx#E1C" target="_blank"&gt;here&lt;/a&gt;.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+2008+RC0+and+New+SQL+Certification&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!407.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!407.entry</guid><pubDate>Tue, 10 Jun 2008 15:20:08 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!407/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!407.entry#comment</wfw:comment><dcterms:modified>2008-06-10T15:20:08Z</dcterms:modified></item><item><title>SQL Server 2008 Includes Data Collector</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!394.entry</link><description>&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!394.entry&amp;amp;;title=SQL Server 2008 Includes Data Collector" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!394.entry&amp;amp;title=SQL Server 2008 Includes Data Collector" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!394.entry&amp;amp;title=SQL Server 2008 Includes Data Collector" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!394.entry&amp;amp;title=SQL Server 2008 Includes Data Collector" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt; &lt;p&gt;&lt;i&gt;In SQL Server 2008, Microsoft has included an entire infrastructure devoted to collecting and reporting on data to improve decision making capabilities.&lt;/i&gt;  &lt;p&gt;&lt;i&gt;The Data Collector is a system that can collect data from any TSQL query like DMVs, Windows Performance Counters, and the SQL Trace. It bundles any selection of these items into a Collection Set. This data is then stored in a relational database known as the management data warehouse.&lt;/i&gt;  &lt;p&gt;&lt;i&gt;Microsoft provides three bundled collectors, however you can create custom data collectors via T-SQL and there is an API available.&lt;/i&gt;  &lt;p&gt;Check out a screencast about the new data collector in SQL Server 2008 via MSN Video below, or if you prefer &lt;a href="http://www.youtube.com/watch?v=OcBe6soCxz0" target="_blank"&gt;YouTube&lt;/a&gt; or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008_dyn08_datacollector.wmv" target="_blank"&gt;download&lt;/a&gt;.  &lt;p&gt;  &lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt; &lt;div&gt;&lt;span style="display:none"&gt; &lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+Server+2008+Includes+Data+Collector&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!394.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!394.entry</guid><pubDate>Wed, 30 Apr 2008 21:09:45 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!394/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!394.entry#comment</wfw:comment><dcterms:modified>2008-04-30T21:10:20Z</dcterms:modified></item><item><title>Did you know? SQL Server 2008 includes Merge Statement</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!385.entry</link><description>&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!385.entry&amp;amp;;title=Did you know? SQL Server 2008 Includes MERGE Statement" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!385.entry&amp;amp;title=Did you know? SQL Server 2008 Includes MERGE Statement" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!385.entry&amp;amp;title=Did you know? SQL Server 2008 Includes MERGE Statement" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!385.entry&amp;amp;title=Did you know? SQL Server 2008 Includes MERGE Statement" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt; &lt;p&gt;Common data scenarios require developers to write and maintain logic to determine whether to insert, update or delete information (sometimes called upsert) such as:  &lt;div style="border-right:gray 1px solid;padding-right:4px;border-top:gray 1px solid;padding-left:4px;font-size:8pt;padding-bottom:4px;margin:20px 0px 10px;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;line-height:12pt;padding-top:4px;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4"&gt; &lt;div style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, 'Courier New', courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none"&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, 'Courier New', courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none"&gt;&lt;span style="color:#606060"&gt;   1:&lt;/span&gt; &lt;span style="color:#0000ff"&gt;IF&lt;/span&gt; &lt;span style="color:#0000ff"&gt;FOUND&lt;/span&gt; &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, 'Courier New', courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none"&gt;&lt;span style="color:#606060"&gt;   2:&lt;/span&gt;     &lt;span style="color:#0000ff"&gt;THEN&lt;/span&gt; &lt;span style="color:#0000ff"&gt;UPDATE&lt;/span&gt; &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, 'Courier New', courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none"&gt;&lt;span style="color:#606060"&gt;   3:&lt;/span&gt; &lt;span style="color:#0000ff"&gt;ELSE&lt;/span&gt; &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, 'Courier New', courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none"&gt;&lt;span style="color:#606060"&gt;   4:&lt;/span&gt;     INSERT &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;SQL Server 2008 provides the new MERGE statement within the SQL language to enable developers to provide this functionality with a single statement. This allows for code reduction and easier maintainability. 
&lt;p&gt;Check out a screencast about the new MERGE Statement in SQL Server 2008 below or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008_dyn05_merge.wmv" target="_blank"&gt;here&lt;/a&gt;. 
&lt;p&gt;Read more about this in the SQL Server 2008 BOL ‘&lt;a href="http://msdn2.microsoft.com/en-us/library/bb522522(SQL.100).aspx" target="_blank"&gt;Inserting, Updating, and Deleting Data with MERGE’.&lt;/a&gt;
&lt;p&gt;
&lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Did+you+know%3f+SQL+Server+2008+includes+Merge+Statement&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!385.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!385.entry</guid><pubDate>Tue, 08 Apr 2008 17:51:24 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!385/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!385.entry#comment</wfw:comment><dcterms:modified>2008-04-08T17:52:37Z</dcterms:modified></item><item><title>SQL Server 2008 Policy Based Management Screencast</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!373.entry</link><description>&lt;p&gt;At &lt;a href="http://vendoran.spaces.live.com/mmm2008-03-18_13.51/Magenic" target="_blank"&gt;Magenic&lt;/a&gt;, &lt;a href="http://denglishbi.spaces.live.com/" target="_blank"&gt;Dan English&lt;/a&gt; and I are working on creating SQL Server 2008 screencasts highlighting the new features.  He's already published a couple on his blog regarding &lt;a href="http://denglishbi.spaces.live.com/Blog/cns!CD3E77E793DF6178!356.entry" target="_blank"&gt;Intellisense&lt;/a&gt; and &lt;a href="http://denglishbi.spaces.live.com/Blog/cns!CD3E77E793DF6178!357.entry" target="_blank"&gt;Data Profiler&lt;/a&gt; task in SSIS.  His explanation of what we're doing is so perfect, I'm just going to borrow it. :)  &lt;blockquote&gt; &lt;p&gt;&amp;quot;A new thing we are trying internally at work is sending out weekly 'Did you know?' (DYN) emails about new features that are included in SQL Server 2008.  We are trying to spread awareness and excitement about the new version of SQL Server 2008.  The emails include information about a new feature, links to the topic in BOL, a internal discuss in regards to the topic, and SQL Server 2008 information (&lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/default.aspx"&gt;main page site&lt;/a&gt;, &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/try-it.aspx"&gt;trial download site&lt;/a&gt;, &lt;a href="http://www.microsoft.com/learning/sql/2008/default.mspx"&gt;learning portal&lt;/a&gt;, &lt;a href="http://www.microsoft.com/events/series/technetsqlserver2008.aspx?tab=webcasts"&gt;webcasts&lt;/a&gt;, and &lt;a href="http://msdn2.microsoft.com/en-us/virtuallabs/cc138238.aspx"&gt;virtual labs&lt;/a&gt;).  The other item that we are including is a screencast of the new feature. &amp;quot;&lt;/blockquote&gt; &lt;p&gt;Here is the screencast on Policy Based Management:  &lt;p&gt;&lt;em&gt;&lt;strong&gt;SQL Server 2008 includes Policy-based Framework&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;&lt;em&gt;Policy-based Framework is a system for managing one or more instances of SQL Server 2008. Policies can be created that manage entities on the server, such as the instance of SQL Server, databases, and other SQL Server objects. Policies can be automated to ‘enforce’, ‘check on changes’ or ‘check on schedule’. &lt;br&gt;Policy-based Framework delivers the benefits such as: Compliance with policies for system configuration; Monitors and prevents changes to the system per policies; Reduces TCO by simplifying administration tasks; Detects compliance issues in SQL Server Management Studio&lt;br&gt;&lt;br&gt;Read more about this in the SQL Server 2008 BOL ‘Administering Servers by Using Policy-Based Management’.&lt;/em&gt;  &lt;p&gt;You can view the screencast about the new Policy-Based Framework in SQL Server 2008 below, or &lt;a href="http://cid-a1aa2222a8b0305c.skydrive.live.com/self.aspx/Public/Screencasts/ss2008_dyn02_policy.wmv" target="_blank"&gt;here&lt;/a&gt;.  &lt;div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px"&gt; &lt;div&gt;&lt;span style="display:none"&gt; &lt;/span&gt; &lt;/div&gt;&lt;span&gt; &lt;table cellspacing=1 cellpadding=1&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Share this post :  &lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!373.entry&amp;amp;;title=SQL Server 2008 Policy Based Management Screencast" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!373.entry&amp;amp;title=SQL Server 2008 Policy Based Management Screencast" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!373.entry&amp;amp;title=SQL Server 2008 Policy Based Management Screencast" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; &lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!373.entry&amp;amp;title=SQL Server 2008 Policy Based Management Screencast" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+Server+2008+Policy+Based+Management+Screencast&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!373.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!373.entry</guid><pubDate>Mon, 07 Apr 2008 14:42:45 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!373/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!373.entry#comment</wfw:comment><dcterms:modified>2008-04-07T18:30:53Z</dcterms:modified></item><item><title>Debugger returns in Management Studio</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!367.entry</link><description>&lt;p&gt;Finally we get a T-SQL debugger back into SQL Server Management tools. Evidently it was announced at the Launch Event in LA that Microsoft has decided to put the T-SQL Debugger into SQL Server Management Studio.  This is something that was in Query Analyzer for SQL 2000 but we haven't had it for 2005 up until now.  See &lt;a href="http://blogs.msdn.com/dtjones/archive/2008/02/28/sql-server-2008-launch-the-day-after.aspx"&gt;here&lt;/a&gt; for more information.  However here's the pertinent excerpt: &lt;p&gt;&amp;lt;excerpt&amp;gt; &lt;p&gt;So what are the surprise features?  &lt;p&gt;#1: we've rewritten the activity monitor to be far more useful and performant (funny word) than ever before. This was work Ken Henderson started before he passed away. One of Ken's good friends and a dev on the team, Bart Duncan, took over the work to complete it in Ken's honor. I showed this at launch.  &lt;p&gt;#2: object search: yes, we're bringing back object search. In Object Explorer Details we've added a search bar that will search for database objects. It's a simple yet powerful search. Unfortunately I wasn't able to demo it at launch.  &lt;p&gt;Drumroll please...  &lt;p&gt;#3: the debugger: we've brought back the T-SQL debugger in Management Studio. This is huge and incredibly valuable. And yes, I demoed it at the launch event.  &lt;p&gt;BTW: #3 had the highest number of votes in Connect and #2 was close behind. We did these because customers told us they are important feature to them. While Connect does have its flaws, it also has its good things. Keep the feedback coming!  &lt;p&gt;&amp;lt;/excerpt&amp;gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Debugger+returns+in+Management+Studio&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!367.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!367.entry</guid><pubDate>Fri, 29 Feb 2008 18:18:59 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!367/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!367.entry#comment</wfw:comment><dcterms:modified>2008-02-29T18:18:59Z</dcterms:modified></item><item><title>SQL Updates</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!364.entry</link><description>&lt;p&gt;In case you haven't seen or heard yet &lt;p&gt;SQL Server 2008 February CTP or CTP6 is available &lt;a href="https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5395"&gt;here&lt;/a&gt;. &lt;p&gt;Microsoft SQL Server 2008 Feature Pack CTP, February 2008 &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D68DE3C9-60A9-49C9-A28C-5C46BBC3356F&amp;amp;displaylang=en"&gt;here&lt;/a&gt;. &lt;p&gt;Cumulative update package 6 for SQL Server 2005 Service Pack 2 is available &lt;a href="http://support.microsoft.com/kb/946608"&gt;here&lt;/a&gt;.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+Updates&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!364.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!364.entry</guid><pubDate>Wed, 20 Feb 2008 13:53:11 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!364/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!364.entry#comment</wfw:comment><dcterms:modified>2008-02-20T14:28:05Z</dcterms:modified></item><item><title>SQL 2005 Current Query Activity</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!324.entry</link><description>&lt;div&gt;&lt;pre&gt;&lt;span&gt;SELECT&lt;br&gt;    sder.session_id AS [SPID],&lt;br&gt;    sdes.login_name AS [Login],&lt;br&gt;    sd.name AS [DBName],&lt;br&gt;    sder.start_time AS [Start Time],&lt;br&gt;    sder.status AS [Status],&lt;br&gt;    sder.command AS [Command],&lt;br&gt;    sdet.text AS [SQL Text],&lt;br&gt;    sder.percent_complete AS [Pct Cmplt],&lt;br&gt;    sder.estimated_completion_time AS [Est Cmplt Time],&lt;br&gt;    sder.wait_type AS [Wait],&lt;br&gt;    sder.wait_time AS [Wait Time],&lt;br&gt;    sder.last_wait_type AS [Last Wait],&lt;br&gt;    sder.cpu_time AS [CPU Time],&lt;br&gt;    sder.total_elapsed_time AS [Total Elpsd Time],&lt;br&gt;    sder.reads AS [Reads],&lt;br&gt;    sder.writes AS [Writes],&lt;br&gt;    sder.logical_reads AS [Logical Reads]&lt;br&gt;FROM&lt;br&gt;    sys.dm_exec_Requests sder&lt;br&gt;    CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sdet&lt;br&gt;    JOIN sys.dm_exec_sessions sdes on sder.session_id = sdes.session_id&lt;br&gt;    JOIN sys.databases sd on sder.database_id = sd.database_id&lt;br&gt;WHERE&lt;br&gt;    sder.session_id &amp;lt;&amp;gt; @@SPID;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+SQL+2005+Current+Query+Activity&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!324.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!324.entry</guid><pubDate>Tue, 30 Oct 2007 15:34:58 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!324/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!324.entry#comment</wfw:comment><dcterms:modified>2008-07-28T18:39:16Z</dcterms:modified></item><item><title>Testing</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!321.entry</link><description>&lt;p&gt;A colleague of mine Aaron Erickson has an interesting post on how deep testing should go &lt;a href="http://blog.magenic.com/blogs/aarone/archive/2007/10/16/Single-Responsibility-Principal-can-be-Taken-Too-Far.aspx"&gt;here&lt;/a&gt;.  This brings up some interesting points, for example in SQL Server I might test my own function, however I don't test SQL Functions like GETDATE, instead I assume they work properly.  If I bring in CLR functions, the amount of code that doesn't get tested could potentially grow beyond the code that does get tested.  So, as he points out, technically speaking I haven't fully tested my implementations and, as I mentioned I could even have &amp;lt; 50% coverage.  So the question Aaron (that would be Aaron Erickson, as I don't talk about myself in the third person) poses is how far should we go in our testing coverage. 
&lt;p&gt;Thinking about it, I've actually dealt with this questions a few times without realizing it.  Often I've had a project manager that doesn't know SQL Server that well and has asked questions like (and I'm paraphrasing here): 
&lt;ul&gt;
&lt;li&gt;How do we validate that we didn't lose data after doing a sp_detach_db, copy and then sp_attach_db? 
&lt;li&gt;How do we validate we didn't lose data after doing a backup/restore?&lt;/ul&gt;
&lt;p&gt;Of course my initial reaction is, well it either works or it doesn't.  However after further thought I realized that I'm saying is that I trust whoever wrote and tested those functions and I believe them to be bug free or at least bug free for how we plan to use them.  While I think that MS is doing a better job getting their own internal code coverage with the use of CTPs, that way people can get the product in their hands test it themselves, I don't think if data is lost and I were smile and tell my project manager, &amp;quot;It's Microsoft's fault since they didn't fully test their product&amp;quot;, I don't think I'd have a job much longer.  While my client is leveraging SQL Server, I am the one responsible for the success of my work, not Microsoft (and not to mention that my name is on it and I want it to be excellent). 
&lt;p&gt;However on the other side of the isle:  If I've tested a system function 6 months ago on a different project/client, do I need to test it again for this project/client?  I'd say no since it's the same code.  However if I don't have to test it, then why can't I just accept that another team tested it, even though this team was MS (even though they are changing their &lt;a href="http://blogs.msdn.com/jeffdw/archive/2007/09/23/what-is-qa-doing-kill-this-question-quickly-or-it-will-kill-you.aspx"&gt;process&lt;/a&gt; often as well) ?  Am I really saying that I'm the only coder in the world that I trust?   I truly hope not as my workload would have just increased exponentially plus I just decided to always work alone and reinvent the wheel every time. 
&lt;p&gt;So we're back to the same question, how much testing should be done and how deep should we go to realize the best code we can and of course stay in proper time scope.  The more I think about it, the more it sounds like we're headed back to old faithful - the 80/20 rule...&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Testing&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!321.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!321.entry</guid><pubDate>Wed, 17 Oct 2007 16:26:47 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!321/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!321.entry#comment</wfw:comment><dcterms:modified>2008-07-28T18:34:06Z</dcterms:modified></item><item><title>Check filegroup and file</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!320.entry</link><description>&lt;p&gt;Often when dealing with different filegroups or even different files in SQL Server 2005, I end up wanting to know where certain objects are logically and physically located.  Here's a query that will give that information:&lt;pre&gt;&lt;span&gt;select&lt;/span&gt; 
                &lt;span&gt;'Object Name'&lt;/span&gt; = so.name, 
                &lt;span&gt;'Index Name'&lt;/span&gt; = si.name, 
                &lt;span&gt;'Type Description'&lt;/span&gt; = si.type_desc,
                &lt;span&gt;'FileGroup Name'&lt;/span&gt; = sfg.Name, 
                &lt;span&gt;'System FileName'&lt;/span&gt; = sdf.Name
&lt;span&gt;from&lt;/span&gt; 
                sys.indexes si 
                &lt;span&gt;join&lt;/span&gt; sys.objects so &lt;span&gt;on&lt;/span&gt; si.object_id = so.object_id
                &lt;span&gt;join&lt;/span&gt; sys.schemas ss &lt;span&gt;on&lt;/span&gt; so.schema_id = ss.schema_id
                &lt;span&gt;join&lt;/span&gt; sys.database_files sdf &lt;span&gt;on&lt;/span&gt; sdf.data_space_id = si.data_space_id
                &lt;span&gt;join&lt;/span&gt; sys.filegroups sfg &lt;span&gt;on&lt;/span&gt; sfg.data_space_id = sdf.data_space_id
&lt;span&gt;where&lt;/span&gt;
                so.type = &lt;span&gt;'U'&lt;/span&gt;
                &lt;span&gt;and&lt;/span&gt; so.Name &lt;span&gt;not&lt;/span&gt; &lt;span&gt;in&lt;/span&gt; (&lt;span&gt;'dtproperties'&lt;/span&gt;)
&lt;span&gt;order&lt;/span&gt; &lt;span&gt;by&lt;/span&gt; 
                3 &lt;span&gt;desc&lt;/span&gt;, 4, 1, 2&lt;/pre&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Check+filegroup+and+file&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!320.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!320.entry</guid><pubDate>Tue, 16 Oct 2007 15:53:41 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!320/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!320.entry#comment</wfw:comment><dcterms:modified>2008-07-28T18:33:28Z</dcterms:modified></item><item><title>sp_readrequest?</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!311.entry</link><description>&lt;span&gt;
&lt;table cellspacing=1 cellpadding=1&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Share this post : 
&lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!311.entry&amp;amp;;title=sp_readrequest" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!311.entry&amp;amp;title=sp_readrequest" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!311.entry&amp;amp;title=sp_readrequest" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!311.entry&amp;amp;title=sp_readrequest" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;
&lt;p&gt;So I've been running a trace on some SQL 2005 servers for awhile now and I'm starting to analyze them.  One of the things I look at is statement top 10 duration.  It was interesting to see all 10 entries to on every day I monitored to be: 
&lt;p&gt;TextData - exec sp_readrequest @receive_timeout=600000&lt;br&gt;ApplicationName - DatabaseMail90 - Id&amp;lt;2224&amp;gt;&lt;br&gt;Duraction - 609325251&lt;br&gt;
&lt;p&gt;The Id varied and the duration went up and down a little but that seemed interesting to me.  I initially thought I had a Database mail problem and went to investigate.  Nothing seemed out of place.  So I went to BOL and looked up sp_readrequest only to find out it is an undocumented sp. 
&lt;p&gt;In fact doing a &lt;a href="http://www.google.com/"&gt;google&lt;/a&gt; search only comes back with 14 entries and only 1 really gives decent information which you can see &lt;a href="http://groups.google.com/group/microsoft.public.sqlserver.server/browse_thread/thread/84bf7b72cbd33eac/7876e54cbcf6979a?lnk=st&amp;amp;q=sp_readrequest&amp;amp;rnum=1&amp;amp;hl=en#7876e54cbcf6979a"&gt;here&lt;/a&gt;.  But basically it said to ignore the entries as it's not doing any Reads, Writes, or CPUs as it is essentially doing a WAITFOR.  Evidently this is due to the fact that Database Mail utilizes Service Broker to operate. 
&lt;p&gt;While I understand and don't have a problem with things happening behind the scenes that should be ignored, I do think it's poor that these things we're supposed to ignore are undocumented anywhere.  In effect, how do we know it's performing &amp;quot;by design&amp;quot; and should be ignored if we don't have any information about it?&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+sp_readrequest%3f&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!311.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!311.entry</guid><pubDate>Tue, 11 Sep 2007 19:32:11 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!311/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!311.entry#comment</wfw:comment><dcterms:modified>2008-07-28T18:33:38Z</dcterms:modified></item><item><title>Move HEAP Tables</title><link>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!310.entry</link><description>&lt;span&gt;
&lt;table cellspacing=1 cellpadding=1&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Share this post : 
&lt;td&gt;&lt;a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!310.entry&amp;amp;;title=Move HEAP Tables" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!310.entry&amp;amp;title=Move HEAP Tables" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to dotnetkicks" href="http://www.dotnetkicks.com/kick/?url=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!310.entry&amp;amp;title=Move HEAP Tables" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/CropperCapture154.jpg" border=0&gt;&lt;/a&gt; 
&lt;td&gt;&lt;a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!310.entry&amp;amp;title=Move HEAP Tables" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border=0&gt;&lt;/a&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;
&lt;p&gt;One of the things I've been doing lately for an upgrade from SQL 2000 to SQL 2005 is restructuring databases, adding filegroups and files to split out the data and non clustered indexes, leaving only the system tables in the primary filegroup.  
&lt;p&gt;This is actually fairly simple as we're just dropping the clustered indexes and recreating them in the new filegroup which moves the data.  However we have some tables that don't have clustered indexes (i.e., HEAP tables) so I wrote a script that moves the HEAP tables into another filegroup.  First it checks for an identity column and if one exists, I create a clustered index on the identity column for the new filegroup, then remove the clustered index.  If an identity column doesn't exist, I create one with a clustered index on the new filegroup then drop the index and the column.  Fairly simple. 
&lt;p&gt;On another note if anyone knows an easy way on how to move text, ntext data between to a different filegroup, let me know.&lt;pre&gt;&lt;span&gt;-- Aaron Lowe&lt;/span&gt;
&lt;span&gt;-- 8/24/2007&lt;/span&gt;

&lt;span&gt;SET&lt;/span&gt; NOCOUNT &lt;span&gt;ON&lt;/span&gt; 
&lt;span&gt;Print&lt;/span&gt; &lt;span&gt;'Starting'&lt;/span&gt;
&lt;span&gt;DECLARE&lt;/span&gt; @SchemaName nvarchar(128),
        @TableName nvarchar(128),
        @SQLcmd nvarchar (1024),
        @ColumnName nvarchar(128),
        @FullQualTable nvarchar(261),
        @FileGroup nvarchar(128)

&lt;span&gt;SELECT&lt;/span&gt; @FileGroup = DB_NAME() + &lt;span&gt;'_DATA'&lt;/span&gt;

&lt;span&gt;DECLARE&lt;/span&gt; HeapTables_CRSR &lt;span&gt;Cursor&lt;/span&gt; &lt;span&gt;FOR&lt;/span&gt; 
    &lt;span&gt;select&lt;/span&gt; ss.name, so.name
    &lt;span&gt;from&lt;/span&gt; 
        sys.indexes si 
        &lt;span&gt;join&lt;/span&gt; sys.objects so &lt;span&gt;on&lt;/span&gt; si.object_id = so.object_id
        &lt;span&gt;join&lt;/span&gt; sys.schemas ss &lt;span&gt;on&lt;/span&gt; so.schema_id = ss.schema_id
        &lt;span&gt;join&lt;/span&gt; sys.database_files sdf &lt;span&gt;on&lt;/span&gt; sdf.data_space_id = si.data_space_id
        &lt;span&gt;join&lt;/span&gt; sys.filegroups sfg &lt;span&gt;on&lt;/span&gt; sfg.data_space_id = sdf.data_space_id
    &lt;span&gt;where&lt;/span&gt;
        si.type = 0
        &lt;span&gt;and&lt;/span&gt; so.type = &lt;span&gt;'U'&lt;/span&gt;
        &lt;span&gt;and&lt;/span&gt; sfg.name = &lt;span&gt;'PRIMARY'&lt;/span&gt;
    &lt;span&gt;order&lt;/span&gt; &lt;span&gt;by&lt;/span&gt; 
        so.name

&lt;span&gt;OPEN&lt;/span&gt; HeapTables_CRSR

&lt;span&gt;FETCH&lt;/span&gt; &lt;span&gt;NEXT&lt;/span&gt; &lt;span&gt;FROM&lt;/span&gt; HeapTables_CRSR &lt;span&gt;INTO&lt;/span&gt; @SchemaName, @TableName
&lt;span&gt;WHILE&lt;/span&gt; &lt;span&gt;@@FETCH_STATUS&lt;/span&gt; = 0
    &lt;span&gt;BEGIN&lt;/span&gt;
        &lt;span&gt;SET&lt;/span&gt; @FullQualTable = &lt;span&gt;'['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + @TableName + &lt;span&gt;']'&lt;/span&gt;
        &lt;span&gt;Print&lt;/span&gt; &lt;span&gt;'Currently working on: '&lt;/span&gt; + @FullQualTable
        &lt;span&gt;IF&lt;/span&gt; &lt;span&gt;EXISTS&lt;/span&gt; (&lt;span&gt;SELECT&lt;/span&gt; * &lt;span&gt;FROM&lt;/span&gt; sys.columns &lt;span&gt;WHERE&lt;/span&gt; OBJECT_ID = OBJECT_ID(@FullQualTable)
             &lt;span&gt;and&lt;/span&gt; is_identity = 1)
            &lt;span&gt;BEGIN&lt;/span&gt;
                &lt;span&gt;SELECT&lt;/span&gt; @ColumnName = name &lt;span&gt;from&lt;/span&gt; sys.columns &lt;span&gt;WHERE&lt;/span&gt; OBJECT_ID = 
                    OBJECT_ID(@FullQualTable) &lt;span&gt;and&lt;/span&gt; is_identity = 1
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'CREATE CLUSTERED INDEX [IX_TempIDent] ON 
                ['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + @TableName + &lt;span&gt;'] (['&lt;/span&gt; + 
                @ColumnName + &lt;span&gt;'] ASC) ON ['&lt;/span&gt; + @FileGroup + &lt;span&gt;'];'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'DROP INDEX [IX_TempIDent] ON ['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + 
                @TableName + &lt;span&gt;'];'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd                
            &lt;span&gt;END&lt;/span&gt;
        &lt;span&gt;ELSE&lt;/span&gt;
            &lt;span&gt;BEGIN&lt;/span&gt;
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'ALTER TABLE ['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + @TableName 
                + &lt;span&gt;'] ADD [TempIdent] int IDENTITY (1,1);'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'CREATE CLUSTERED INDEX [IX_TempIDent] ON ['&lt;/span&gt; + 
                @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + @TableName + 
                &lt;span&gt;'] ([TempIdent] ASC) ON ['&lt;/span&gt; + @FileGroup + &lt;span&gt;'];'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'DROP INDEX [IX_TempIDent] ON ['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + 
                @TableName + &lt;span&gt;'];'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd
                &lt;span&gt;SET&lt;/span&gt; @SQLCmd = N&lt;span&gt;'ALTER TABLE ['&lt;/span&gt; + @SchemaName + &lt;span&gt;'].['&lt;/span&gt; + @TableName + 
                &lt;span&gt;'] DROP COLUMN [TempIdent];'&lt;/span&gt;
                &lt;span&gt;exec&lt;/span&gt; sp_executesql @SQLCmd
            &lt;span&gt;END&lt;/span&gt;
        &lt;span&gt;FETCH&lt;/span&gt; &lt;span&gt;NEXT&lt;/span&gt; &lt;span&gt;FROM&lt;/span&gt; HeapTables_CRSR &lt;span&gt;INTO&lt;/span&gt; @SchemaName, @TableName
    &lt;span&gt;END&lt;/span&gt;
&lt;span&gt;CLOSE&lt;/span&gt; HeapTables_CRSR
&lt;span&gt;DEALLOCATE&lt;/span&gt; HeapTables_CRSR
&lt;span&gt;Print&lt;/span&gt; &lt;span&gt;'Done'&lt;/span&gt;&lt;/pre&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-6797583155307990948&amp;page=RSS%3a+Move+HEAP+Tables&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=vendoran.spaces.live.com&amp;amp;GT1=vendoran"&gt;</description><comments>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!310.entry#comment</comments><guid isPermaLink="true">http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!310.entry</guid><pubDate>Tue, 11 Sep 2007 18:47:50 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://vendoran.spaces.live.com/blog/cns!A1AA2222A8B0305C!310/comments/feed.rss</wfw:commentRss><wfw:comment>http://vendoran.spaces.live.com/Blog/cns!A1AA2222A8B0305C!310.entry#comment</wfw:comment><dcterms:modified>2008-07-28T18:33:48Z</dcterms:modified></item></channel></rss>