Windows

How to Upgrade SQL Server 2022 from Developer Edition to Enterprise Edition Without Data Loss on windows

Learn how to safely upgrade SQL Server 2022 from Developer Edition to Enterprise Edition using Edition Upgrade. This step-by-step guide ensures no data loss and minimal downtime.

Method 1: Upgrade Using SQL Server Setup (GUI)

Step 1: Mount SQL Server Installation Media

  • Mount the SQL Server 2022 ISO file
  • Run setup.exe

Step 2: Choose Edition Upgrade

  • Select Maintenance
  • Click Edition Upgrade

Step 3: Enter Product Key

  • Enter your SQL Server Enterprise Edition product key
  • Click Next

Step 4: Select Instance

  • Choose the SQL Server instance you want to upgrade (default: MSSQLSERVER)
  • Click Next

Step 5: Accept License Terms

  • Accept the license agreement
  • Continue to the next step

Step 6: Upgrade

  • Review the summary
  • Click Upgrade
  • Wait for the process to complete

Method 2: Upgrade Using Command Line

You can also perform the upgrade via command prompt:

setup.exe /ACTION=EditionUpgrade /PID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

This method is useful for automated deployments or remote servers.

Verification After Upgrade

After completion, verify the edition:

SELECT
    SERVERPROPERTY('Edition') AS Edition,
    SERVERPROPERTY('ProductVersion') AS Version;

Expected result:

Enterprise Edition (64-bit)

 

Thanks for visit my website