﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / SQL 2000 to 2005 - Upgrade / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 19:59:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL 2000 to 2005 - Upgrade</title><link>http://www.sqlservercentral.com/Forums/Topic1408306-146-1.aspx</link><description>TEST, TEST, TEST... hope you have a test environment and just aren't upgrading production.Biggest things are:Rebuild Indexes so optimizer sees the indexesUpdate Stats 100%CHECK Integrity, this makes sure there is no corruption</description><pubDate>Fri, 18 Jan 2013 06:12:33 GMT</pubDate><dc:creator>Markus</dc:creator></item><item><title>RE: SQL 2000 to 2005 - Upgrade</title><link>http://www.sqlservercentral.com/Forums/Topic1408306-146-1.aspx</link><description>-- set compatibility level-- change dbowner to same as it was under SQL 2000, it is usually 'sa', but check-- update all statistics, needed for performance, SQL 2005 interprets these differently-- update usage stats (correct sp_spaceused values) can be incorrect after SQL 2005 upgradedbcc updateusage(0)-- ensure torn page detection set. alter database dbname set page_verify checksum   -- upgrade creates a schema for all users and sets this as default, use following to create SQL to-- modify users default schema to dbo and then run in a new window-- if SQL 2000 objects were not owned by dbo modify script accordingly-- SQL2000 always checks objects by username.object first, then checks dbo.object if not found,-- so this check can be avoided and improve performance by setting default_schema to dbo so it is checked first,-- however if all objects are owned by the user or all or some are owned by user and object not qualified with-- owner in SQL then default_schema should be left at user. Only testing may prove this.set nocount onselect 'alter user '+ name+ ' with default_schema = dbo' from sys.sysusers where uid &amp;gt; 4 and isntgroup  = 0 and issqlrole = 0 and isapprole = 0order by name-- now drop all the user schemas createdselect 'drop schema ['+ name+ '] ' from sys.sysusers where uid &amp;gt; 4 and issqlrole = 0 and isapprole = 0order by name-- if not done before backup used in migration, check database integrity, if comes up clean, data_purity will be enabled for all future checkdbsdbcc checkdb with data_purity-- if database reasonable size, take this opportunity to reindex it (run dbcc dbreindex maint plan job)-- if a large no of ad-hoc queries run on this database, consider forced parameterization option-- could reduce cpu usage significantly--alter database dbname set parameterization forced-- now back the database up</description><pubDate>Thu, 17 Jan 2013 07:18:18 GMT</pubDate><dc:creator>george sibbald</dc:creator></item><item><title>RE: SQL 2000 to 2005 - Upgrade</title><link>http://www.sqlservercentral.com/Forums/Topic1408306-146-1.aspx</link><description>Do we need to run Data Purity check?</description><pubDate>Thu, 17 Jan 2013 04:20:32 GMT</pubDate><dc:creator>balasach82</dc:creator></item><item><title>RE: SQL 2000 to 2005 - Upgrade</title><link>http://www.sqlservercentral.com/Forums/Topic1408306-146-1.aspx</link><description>DBCC UPDATEUSAGE</description><pubDate>Thu, 17 Jan 2013 04:03:08 GMT</pubDate><dc:creator>Suresh B.</dc:creator></item><item><title>SQL 2000 to 2005 - Upgrade</title><link>http://www.sqlservercentral.com/Forums/Topic1408306-146-1.aspx</link><description>For SQL 2000 to 2005 Inplace Upgrade, after upgrade, what should we do as next steps. Some arerun checkdbchange compatility backup db</description><pubDate>Thu, 17 Jan 2013 04:00:06 GMT</pubDate><dc:creator>balasach82</dc:creator></item></channel></rss>