You are currently offline, waiting for your internet to reconnect

FIX: OK Button for Changing the Recovery Model or the Compatibility Level in SQL Enterprise Manager is Disabled

This article was previously published under Q295120
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 234619 (SHILOH_bugs)
In the SQL Server 2000 Enterprise Manager, the OK button in the Database Properties Options dialog box is disabled. Although you expect the button to become enabled after you make a change to any of the database options listed, this does not happen if the database was created with the MAXSIZE parameter.

The OK button becomes enabled for changes to most options on the screen, except for the following:

  • The Recovery Model option.
  • The Database Compatibility Level option.
This is true regardless of whether the database was created by using the CREATE DATABASE wizard in Enterprise Manager, or the CREATE DATABASE Transact-SQL statement. Until the OK button is enabled and clicked in the Options dialog box, changes for the options in the preceding list are not applied to the database.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
To work around this behavior, use Transact-SQL statements to change the recovery model or the compatibility level for a database.

To change the recovery model to SIMPLE for a database, use the ALTER DATABASE command as follows:
To set the database compatibility level to 70 for a database, use the sp_dbcmptlevel stored procedure as follows:
sp_dbcmptlevel 'pubs',70				
For more information about these commands, refer to SQL Server 2000 Books Online.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
To reproduce the problem, use the following steps:

  1. Create a database by using the Enterprise Manager or the Transact-SQL CREATE DATABASE command, and then specify a maximum size.
  2. Right-click the database name in Enterprise Manager, select Properties, and then click Options.
  3. Note that the OK button is disabled. Either change the recovery model or the compatibility level option, and the OK button is still disabled.
  4. Change any of the other options and you will see that the OK button becomes enabled.

Article ID: 295120 - Last Review: 01/16/2015 22:20:14 - Revision: 3.2

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB295120