<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx</link><description>Last week I was engaged on SQL 2000 to SQL 2005 migration project, and we had identified some issues related to significant changes in execution plans. Before migration we tested the application with using Upgrade Advisor (test passed without any caution),</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SQL 2000 to SQL 2005 migration: temporary tables reuse issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#2313535</link><pubDate>Sat, 28 Apr 2007 19:57:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2313535</guid><dc:creator>SQL, Analysis Services &amp; related stories.</dc:creator><description>&lt;p&gt;During the same project the next issue was found: temporary table reuse. Here is an example on “how to&lt;/p&gt;</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3802296</link><pubDate>Tue, 10 Jul 2007 22:26:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3802296</guid><dc:creator>Shastry</dc:creator><description>&lt;p&gt;Hi Igor,&lt;/p&gt;
&lt;p&gt;We are looking for a Project Plan for Migration to Sql Server 2005. Can you share a sample or a template if you have one? Greatly appreciate your help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Shastry&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3802419</link><pubDate>Tue, 10 Jul 2007 22:39:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3802419</guid><dc:creator>Igor Kovalenko</dc:creator><description>&lt;p&gt;We are using the standard (template) plan from MCS (to long, detailed and complicated). This is an ownership of MCS, as a result i am not sure i will be able to share it. Please try to contact PSS. Sorry.&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3897985</link><pubDate>Mon, 16 Jul 2007 19:42:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3897985</guid><dc:creator>Nuno Coimbra</dc:creator><description>&lt;p&gt;Hi Igor!&lt;/p&gt;
&lt;p&gt;Well we've run into the same problem in one of our procdures. Is there any way to &amp;quot;fix&amp;quot; this? We sincerely do not know where else it may appear and a solution, even if it is a simply work around would be nice...&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3900068</link><pubDate>Mon, 16 Jul 2007 22:20:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3900068</guid><dc:creator>Igor Kovalenko</dc:creator><description>&lt;p&gt;Even if workaround exists it is unknown for me.&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3911171</link><pubDate>Tue, 17 Jul 2007 12:07:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3911171</guid><dc:creator>Nuno Coimbra</dc:creator><description>&lt;p&gt;Oh, ok... Seems we'll have to do a lot of of digging in our databases. :)&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#3920075</link><pubDate>Tue, 17 Jul 2007 20:14:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3920075</guid><dc:creator>Nuno Coimbra</dc:creator><description>&lt;p&gt;Hi, it's me again.&lt;/p&gt;
&lt;p&gt;Well...In our case, we DID find a workaround that seems to be working just fine... We used a query int in our faulty INNER JOINS. Now, we tell the optimizer to do a INNER LOOP JOIN and all the faulty queries seem to be working.&lt;/p&gt;
&lt;p&gt;Strangely enough, the odd thing is that they do work with any of the 3 (LOOP, HASH or MERGE) JOIN hints...&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#4545863</link><pubDate>Fri, 24 Aug 2007 20:51:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4545863</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I am also experiencing this problem. &amp;nbsp;As a quick fix I found it useful to use the OPTION(USE PLAN N'[YOUR PLAN HERE]') keyphrase to force the query to use an execution plan of your choosing. &amp;nbsp;Luckily for me we had a Test server with an optimized execution plan on it which I then imported into our faulty production environment. &amp;nbsp;It still doesn't execute nearly as fast as it did on SQL 2000 but it's much improved over the automatic plan SQL 2005 generated.&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#4545875</link><pubDate>Fri, 24 Aug 2007 20:52:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4545875</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Here's a good TechNet article on forcing the use of an execution plan: &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/frcqupln.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2005/frcqupln.mspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#9246847</link><pubDate>Mon, 22 Dec 2008 13:24:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9246847</guid><dc:creator>namu</dc:creator><description>&lt;p&gt; hai i m doing a project in tht i need to convert sql 2000 to sql 2005 .can u send &amp;nbsp;me sample codes if u hve any?&lt;/p&gt;
</description></item><item><title>re: SQL 2000 to 2005 migration: execution plan change issue.</title><link>http://blogs.msdn.com/ikovalenko/archive/2007/04/28/sql-2000-to-2005-migration-execution-plan-change-issue.aspx#9498071</link><pubDate>Sun, 22 Mar 2009 13:24:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9498071</guid><dc:creator>Ray</dc:creator><description>&lt;p&gt;Looks like this is not as easy as I had earlier anticipated. I don't know we are going to do with all our projects when we need to convert.&lt;/p&gt;
</description></item></channel></rss>