How to Upgrade SQL

Problem

When upgrading Solidworks PDM to a newer version, it is often necessary to upgrade your SQL version if it does not meet the system requirements. PDM Professional will require SQL Standard or SQL Enterprise while PDM Standard will only run on an instance of SQL Express.  This article will help you upgrade your SQL.

Solution: Update SQL

Before attempting to Upgrade any PDM Server components, please be sure to create backups of your data.

The first step to updating your SQL is to confirm the compatibility with your Windows Server Operating System.

SQL Server in Windows operating system - SQL Server | Microsoft Learn

If you need to upgrade SQL Standard, the paid for version that is needed for PDM Professional, you will need to get the installation files from the Microsoft Admin Center. Here is the link: Admin Center.

Below are the links for SQL Express for PDM Standard:

SQL 2016 SP3:

KB3177534 - How to obtain the latest service pack for SQL Server 2016 (microsoft.com)

SQL 2019:

Download Microsoft® SQL Server® 2019 Express from Official Microsoft Download Center

SQL 2019 latest cumulative update (you will need to do this after upgrading to SQL 2019):

Download SQL Server® 2019 for Microsoft® Windows Latest Cumulative Update from Official Microsoft Download Center

SQL 2022:

Download Microsoft® SQL Server® 2022 Express from Official Microsoft Download Center

SQL 2025:

Download Microsoft® SQL Server® 2025 Express from Official Microsoft Download Center

  1. After installing the executable, you will want to run it as administrator. Be sure to select Custom.

    Select installation type: custom
  2. After selecting custom, you will select install.

    Specify SQL Server media download target location
  3. Under the Installation section of the SQL Server Installation Center, you need to select Upgrade from a previous version of SQL Server.

    Upgrade from a previous version of SQL Server
     

  4. You will accept the license agreements and select Next.

    6b4065dbc10685d23a8dc5ea77b01ea8c007d70f0ee3524c06a2b37b77c82b6c.png

     

  5. You will then select your instance that PDM exists on. Then hit Next.

    Select Instance
  6. If you have any features, you will select them in the options prior to this next screen shot. If you do not have have any features, it will automatically send you to the last step. This process can take a fair amount of time depending on the size of your database.

    Complete
  7. After completion, you will have to restart your server.
     

  8. If you did not upgrade the SQL Cumulative 2019 update yet, you will receive the following error when trying to upgrade your PDM database.

     

    SOLIDWORKS PDM 2021 and higher requires SQL Server 2019 Cumulative Update 4 or later.
  9. Please download the latest cumulative update from the Microsoft website. Run the executable and accept the license agreement, then select Next.

    License Terms 2
  10. Select all PDM existing instances, then hit Next.

    Select Features
  11. Select Next.

    Check Files In Use
  12. Select Update.

    Ready to update
  13. You will need to restart your server after the cumulative update.

    Complete 2

14. After you restart your server, the SQL upgrade is complete.

 

To finish the database upgrade, navigate to your SolidWorks installation media and run the Upgrade.exe

\SOLIDWORKS 202# SP0#\SOLIDWORKS 202# SP0#\SWPDMServer\Upgrade

  1. Open the upgrade tool and run it. Select your vault and click Next.

    SOLIDWORKS PDM Database Upgrade Wizard
  2. Select Next.

    This step will perform the upgrade
  3. Select Finish.
database upgrade finished

After this, you should now have a working PDM client and server with all compatible components.

Contact Us

For further technical support please contact Hawk Ridge Systems at 877.266.4469 for the U.S. or 866.587.6803 for Canada.

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.