2

I'm working with a client who had a SQL Server 2008 converted from a SQL Server 2000 DB and one of the queries has quite dramatically increased in time since it was on SQL Server 2000.

However, if I change the compatibility level to 2008 in the DB, the query goes like a rocket (40-50 times faster).

The query does use a number of UDFs.

My questions: - are there issues with running SQL2000 compatibility in SQL Server 2008 - has SQL Server 2008 improved the performance when using UDFs?

1
  • 3
    Want us to roll the 8 ball and guess? Post code, schema, perhaps actual plans. Commented Nov 20, 2009 at 21:34

1 Answer 1

5

There are some other things you might want to do after upgrading. See the "After upgrading..." section here: http://msdn.microsoft.com/en-us/library/bb933942.aspx

Sign up to request clarification or add additional context in comments.

1 Comment

Excellent link. It is very important to update statistics for instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.