Upgrading databases from SQL Server 2000 to SQL Server 2005 using backup and restore method or detach and attach method the compatibility level does not automatically change. Hence, to change the database compatibility, follow below mentioned steps:
1. Login in SQL Server Management Studio.
2. Expand database from the left hand side.
3. Right click on the database.
4. Click on Properties.

5. Click on Option tab.
6. Select SQL Server 2000 (80) from the Compatibility level section as shown in below figure.

7. Click on Ok button.
1. Login in SQL Server Management Studio.
2. Expand database from the left hand side.
3. Right click on the database.
4. Click on Properties.

5. Click on Option tab.
6. Select SQL Server 2000 (80) from the Compatibility level section as shown in below figure.

7. Click on Ok button.
Comment