Author: Marc Troike
February 2007
Microsoft SQL Server 2000 Enterprise to Microsoft SQL Server 2005 Standard
Marc Troike, Senior DBA, Ross Group Inc
Situation
You have several databases on a SQL Server 2000 installation running Enterprise Edition. You have been running Enterprise Edition primarily for the expanded memory support. You need to upgrade to SQL Server 2005, but have chosen to use Standard Edition because the feature set is sufficient for your needs.
Problem
You can’t do an in-place upgrade or a Detach/Attach upgrade because of the Enterprise to Standard downgrade. Microsoft only supports upgrades from SQL Server 2000 Enterprise Edition directly to SQL Server 2005 Enterprise Edition. (http://msdn2.microsoft.com/en-us/library/ms143393.aspx)
Solution
You must upgrade the databases using Backup and Restore techniques.
Tips & Tricks
Use dynamic scripting techniques to generate scripts for you. The following will generate backup statements for all user databases on the server.
Using the current size of the database when creating the new catalog avoids disk fragmentation which may occur if databases are extended during restore.
Create SQL and Windows authenticated users at the server level first. Then you must drop and recreate local database users using the following syntax.
Ross Group Inc is an IT Services Company headquartered in Dayton, Ohio and an annual sponsor of the Greater IT Alliance. More information on Ross Group Inc services can be found at www.rossgroupinc.com
