<?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>Microsoft Dynamics NAV 5.0 SP1 and SQL Server 2000</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/06/03/microsoft-dynamics-nav-5-0-sp1-and-sql-server-2000.aspx</link><description>Microsoft Dynamics NAV 5.0 SP1 introduces a new way to handle SIFT. Instead of maintaining totals in separate tables, Dynamics NAV 5.0 SP1 uses a SQL feature called indexed views. Indexed views will automatically be maintained by the SQL Server. With</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Microsoft Dynamics NAV 5.0 SP1 and SQL Server 2000</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/06/03/microsoft-dynamics-nav-5-0-sp1-and-sql-server-2000.aspx#8574737</link><pubDate>Thu, 05 Jun 2008 10:52:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574737</guid><dc:creator>waldo1001</dc:creator><description>&lt;p&gt;May be a stupid or unnecessary question but anyway ... .&lt;/p&gt;
&lt;p&gt;I've seen some database which the customers &amp;quot;upgraded&amp;quot; themselves to SQL2005 still in compatibility mode '80', being SQL2000. &amp;nbsp;Is this going to suffer from the same problem?&lt;/p&gt;
</description></item><item><title>re: Microsoft Dynamics NAV 5.0 SP1 and SQL Server 2000</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/06/03/microsoft-dynamics-nav-5-0-sp1-and-sql-server-2000.aspx#8577299</link><pubDate>Fri, 06 Jun 2008 12:10:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8577299</guid><dc:creator>Lohndorf</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good question! I can't be sure, but as far as I can see the problem does not exist on SQL2005, even in compatibility mode 80.&lt;/p&gt;
&lt;p&gt;I tested it here, and get the same query plan with compatibility mode 80 and 90, and the same number of reads when SQL updates an indexed view. But to be completely sure, you would need to test this on the customer's database. I use this code to test it:&lt;/p&gt;
&lt;p&gt;ItemLedgEntry.FINDLAST;&lt;/p&gt;
&lt;p&gt;ItemLedgEntry.Quantity := ItemLedgEntry.Quantity + 1;&lt;/p&gt;
&lt;p&gt;ItemLedgEntry.&amp;quot;Invoiced Quantity&amp;quot; := ItemLedgEntry.&amp;quot;Invoiced Quantity&amp;quot; + 1;&lt;/p&gt;
&lt;p&gt;ItemLedgEntry.MODIFY;&lt;/p&gt;
&lt;p&gt;With Profiler running, including the &amp;quot;Showplan Text&amp;quot; event. I then look at the query plan, and see if it contains &amp;quot;Clustered index scan&amp;quot;. On SQL200 it does. On SQL2005 it doesn't. SQL2005 has clustered index seek, but no scans.&lt;/p&gt;
&lt;p&gt;So, even if I cannot be sure, it looks like the indexed views run OK on SQL2005, also in compatibility mode 80. But I would still recommend that customers run a clean SQL2005. Are there some reasons why customers need to run in compatibility mode 80?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Lars&lt;/p&gt;
</description></item><item><title>re: Microsoft Dynamics NAV 5.0 SP1 and SQL Server 2000</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/06/03/microsoft-dynamics-nav-5-0-sp1-and-sql-server-2000.aspx#8577785</link><pubDate>Fri, 06 Jun 2008 15:57:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8577785</guid><dc:creator>waldo1001</dc:creator><description>&lt;p&gt;Not that I know of. &amp;nbsp;But it is also easily overlooked.&lt;/p&gt;
</description></item><item><title>What impact does my C/AL have on SQL  - SIFT on 5.0 Sp1</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/06/03/microsoft-dynamics-nav-5-0-sp1-and-sql-server-2000.aspx#8798965</link><pubDate>Fri, 01 Aug 2008 14:20:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8798965</guid><dc:creator>Waldo's Blog &lt;br /&gt; Microsoft Dynamics NAV</dc:creator><description>&lt;p&gt;Normally, I would have done an article about Sumindexfields on versions previous to 5.0 SP1, but I decided&lt;/p&gt;
</description></item></channel></rss>