When a SQL Server is upgraded to version 6.0, all of its databases are automatically upgraded by the setup program. However, under some conditions it may not be possible to upgrade a particular database to version 6.0. This can occur, for example:
Note You should always run the chkupg utility prior to upgrading. This utility detects these conditions, allowing you to correct them prior to upgrading. For information on using chkupg, see Chapter 4, Server Installation.
When one of these conditions is encountered during a server upgrade a message is displayed. After the server upgrade completes you can determine the affected database by reviewing all the report files (files ending in the .OUT filename extension), correct the condition that prevented the database upgrade, and then use the sp_db_upgrade system procedure to upgrade the database to version 6.0.
Report files ending in the .OUT filename extension are stored in the \SQL60\INSTALL directory. Review all .OUT files, especially CHKUPG.OUT and UPGRADE.OUT.
sp_db_upgrade dbname
where
For example:
sp_db_upgrade pubs