How to set Compatibility Mode for a Database Using T-SQL

I participated in a database server migration from SQL Server 2000 to SQL Server 2005 and noticed some query performance issues that came up during testing. When a database is upgraded from SQL 2000 to SQL Server 2005 using backup\restore or sp_attach, the database retains its current compatibility level. Read my article on the SQL Server World Wide User Group web site as I explain how to set compatibility mode for a single database using T-SQL and how this may affect query performance.

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this entry.
Comments
  • No comments exist for this entry.
Leave a comment

Submitted comments will be subject to moderation before being displayed.

 Enter the above security code (required)

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.