Should I rebuild table indexes after a SQL Server 2000 to 2005 database migration

Posted by Joe T on Stack Overflow See other posts from Stack Overflow or by Joe T
Published on 2009-10-07T12:37:08Z Indexed on 2010/05/20 22:50 UTC
Read the original article Hit count: 156

I'm tasked with doing a SQL Server 2000 to 2005 migration. I will be doing a side-by-side migration.

After restoring from a backup I plan to do the following:

ALTER DATABASE <database_name> SET COMPATIBILITY_LEVEL = 90;

DBCC CHECKDB(<database_name>) WITH NO_INFOMSGS

DBCC UPDATEUSAGE(<database_name>) WITH NO_INFOMSGS

exec sp_updatestats ‘resample’

Should I rebuild table indexes before using DBCC UPDATEUSAGE and sp_updatestats?

Have I missed anything obvious that should be executed after a migration?

All help would be warmly up-voted.

Thanks

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about sql-server-2005