SQL2005 -LIKE and comparison (<,>) Operator
                
                    garak                
                
                    Member Posts: 3,263                
            
                        
            
                    Hi,
after testing and checking our source, i woundered why the SQLServer 2000 and 2005 do not the same. The source was fine and i found the problem on SQL Server side.
The Problem is, that the 2005 use bad exec. plans because he use the comparison operater (>,<) instead of the Like operator (SQL 2000 behavior)
So the SQL2005 returns more rows an the 2000. U can see this when using Query Analyzer and Profiler.
So, i search the i-net and found an Update on ms support site.
Now the question, before i will test this update, has somebody some experience with following Update 4 for SP2 for SQL Server 2005 :?:
http://support.microsoft.com/kb/942659/
Regards
                after testing and checking our source, i woundered why the SQLServer 2000 and 2005 do not the same. The source was fine and i found the problem on SQL Server side.
The Problem is, that the 2005 use bad exec. plans because he use the comparison operater (>,<) instead of the Like operator (SQL 2000 behavior)
So the SQL2005 returns more rows an the 2000. U can see this when using Query Analyzer and Profiler.
So, i search the i-net and found an Update on ms support site.
Now the question, before i will test this update, has somebody some experience with following Update 4 for SP2 for SQL Server 2005 :?:
http://support.microsoft.com/kb/942659/
Regards
Do you make it right, it works too!
0                
            Answers
- 
            I guess you read this article as well?
http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2007/11/19/new-trace-flag-in-update-4-for-sql-2005-sp2.aspx0 - 
            no, but now i do ;-)
Thanks waldoDo you make it right, it works too!0 - 
            garak wrote:Now the question, before i will test this update, has somebody some experience with following Update 4 for SP2 for SQL Server 2005
I have several customers running SQL Server 2005 build 9.0.3200 without any problems; even though there was no need for the new traceflag 4119, yet.
Have in mind that meanwhile 3215 (U5) is available - but I've got no experiences with this one, so far ...Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 - 
            ThanksDo you make it right, it works too!0
 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions
 
