Downgrade the SQL edition from Standard to Developer Edition
Expert User
Verified
Downgrading from higher edition to lower edition in SQL Server, we have to decommission the higher edition then install the lower edition with same setting as higher like instance name, backup location, system DBs location etc.
SELECT * FROM sys.dm_db_persisted_sku_features
Pre-Requisites:
- Take the Full backup of VM
- Execute the below query below on each database to know whether the database is utilizing any feature that belongs to enterprise edition only SELECT * FROM sys.dm_db_persisted_sku_features
- Run SELECT @@VERSION and make a note of exact version and build number
- Take the backup of All databases
- Note down the current configuration of the database server. Keep track of the installation folder and note down the exact install location. Also make a note of select @@version, sp_configure.
- Stop the SQL services
- Browse to the location where your system databases (master, temdb, msdb, modeldb) are kept and copy them to a new location (we will get back to them later on). There is no need to copy the other database files as they won’t be affected during the downgrade process.
Implementation Plan
- Navigate to the Control Panel and choose Uninstall a program under the Programs section.
- Find Microsoft SQL Server 20XX (64-bit)
- Click Uninstall/Change, then click Remove
- The SQL Server Installer will launch and list all the SQL Server Instances currently installed on the server. Choose the SQL Server instance you want to downgrade and click Next. Click Select All to remove all SQL Server components from the server for this instance and click Next. Now click Remove to begin the uninstallation operation.
- Reboot of the server
- Install the developer edition of SQL Server with the same instance name and path as the previous installation.
- Stop SQL Server service
- Copy system databases (master, temdb, msdb, modeldb) of new installed SQL and place it to new location so that we can revert to this state.
- Move all databases files back to their original locations. We also need to replace the system database files with the previous one.
- Start SQL Service again
- Restore all user databases
- Verify that databases are online and healthy again with new Edition
Comments
Leave a Comment