SQL Server 2022 Download

Problem

Learn how to download, install, and setup SQL Server 2022 in this article.

Solution

Follow the below steps to download SQL Server 2022 and install SQL Server 2022. In this example, we will install SQL Server Developer edition on-premises.

Download SQL Server 2022

Download the installation file from Microsoft SQL Server 2022 Download.

Prerequisites

To install SQL Server 2022 you will need these minimum requirements:

  • 1 GB or more of memory (512MB for the Express Edition). Recommended to have 4 GB (1 GB for the Express Edition). For DQS, 2 GB is required.
  • x64 Processor with 1.4 GHz (recommended 2 Ghz or higher).
  • 6 GB of storage space.
  • Super VGA 800X600 monitor or better.
  • An internet connection.
  • Windows 10 or later or Windows Server 2016 or later operating system.

Install SQL Server 2022

Once downloaded, double click the file to run the installation.

There are 3 options:

  • Basic – Install SQL Server with the default options. This will install the Evaluation edition.
  • Custom – Select the components to install. You will be able to select several other options like SSIS, SSAS, DQS, MDS and other features. You can also select the SQL Server edition you want to install such as Developer, Express, Evaluation, Standard, or Enterprise.
  • Download Media – Download the installer and run later. This will also give you an option to pick which edition you want to install. You have the option of downloading an ISO file or CAB files.
sql server 2022 installation type screen

To get started, we will use the Custom option.

Next, the installer will ask where to save the download, once selected press Install. This will download and run the install package.

SQL Server Installation Center

After the download completes, the SQL Server Installation Center will open. Select the Installation option on the left.

sql server 2022 installation

On the installation page we have these options:

sql server 2022 installation
  1. New SQL Server stand-alone installation or add features to an existing installation.
    • We will use this option to install a new instance.
  2. Install SQL Server Reporting Services.
    • This software is used to create Reports not only from SQL data, but also from other data sources.
  3. Install SQL Server Management Tools
    • Install various tools to work with SQL Server.
  4. Install SQL Server Data Tools
  5. New SQL Server failover cluster installation
    • Install a new node in a failover cluster used for high availability
  6. Add node to a SQL Server failover cluster
    • Add nodes to a failover cluster
  7. Upgrade from a previous version of SQL Server
    • Let’s you upgrade from a previous SQL Server version

We will pick New SQL Server stand-alone installation or add features to an existing installation.

There will be a few screens to go through to check for any updates

Edition

On the next screen, you can enter a product key or use a free edition. You can use 3 options:

  • Evaluation. The evaluation edition is for 180 days duration.
  • Developer. The Developer edition is for development purposes, testing or teaching purposes. It cannot be used in Production.
  • Express. This version can be used in production, but it comes with various feature limitations.

In addition, you can use the pay-as-you-go billing through Microsoft Azure option. This option is great if you want SQL Server for a limited time or if you do not use on weekends. You can scale out or scale down. This option offers an Enterprise and Standard edition. The main differences between these 2 options are the features available. The enterprise edition contains all the features, whereas the Standard edition has some limitations.

Also, you can use the product key. The product key is used to specify the license of your SQL Server. If you purchase a license. Microsoft will provide you license for an Edition of SQL Server. You will need to enter an alphanumeric key in SQL Server.

There are 2 options for the product key.

  • I have a SQL Server license with Software Assurance or SQL Subscription. If you have a subscription or a software assurance, your payment will be reduced. The software assurance also includes some benefits during the upgrades, migration and technical support.
  • I have a SQL Server license only. This option means that you will enter the license only and you do not have a Software Assurance or a SQL Server Subscription.
sql server 2022 installation

License Terms

Read the license terms to make sure that you agree and press Next .

SQL Server License Terms

Microsoft Update

The Microsoft Update can check if there are updates. You can enable this option and Microsoft Update will check for updates. Press Next to continue.

In Microsoft SQL Server, the updates are using the CUs. The CUs are Cumulative Updates. These updates contain patches and fixes to improve the functionality and security of the SQL Server. Make sure to have your CUs updated.

You can see the last CU for SQL Server 2022 here.

Microsoft Update

Install Rules

The install rules window verifies possible problems during the installation. For example, the machine may not have the current .NET framework installed, or the firewall may need some ports enabled. In this example, we have two warnings. The firewall and the side-by-side upgrade warnings. You can click view detailed report for more details or on the warning link to get more info. Note, it is not recommended to install the machine on a domain controller and the .NET framework that is recommended is 4.7.2 or later.

Install rules

Windows Firewall Warning

If the firewall is enabled, you need to check if the required ports are enabled. If the ports are disabled, your services may not work. For more information about SQL Ports, please refer to this link: SQL Server Ports for Various Components. For more information to configure the firewall, please refer to this link: Configure Windows Firewall to Work with SQL Server.

Rule Check Rules

Azure Extension for SQL Server

You can enable the Azure Extension for SQL Server. This new feature allows to register your SQL Server and use the Azure AD, the Azure Arc-enabled SQL Server using a pay-as-you-go billing. You will need to have an Azure Account for this feature. To install later, you can configure using the Azure Portal or Azure API.

Azure extension

Feature Selection

The feature selection includes several options as shown below.

SQL Server Feature Selection
  • Database Engine Services
    • Main component of SQL Server
  • SQL Server Replication
    • Replicate data to different databases or SQL Servers. For more information, please refer to this replication article.
  • Machine Learning Services and Languages Extension
  • Full Text and Semantics
    • Search large sets of text in the database. This is a powerful search service to search text data and improve performance.
  • Data Quality Services
    • Fix, enrich, standardize and check your data.
  • PolyBase Query Service
    • Integrate Big Data Hadoop solutions with SQL Server
  • Analysis Services
    • Service for SQL Server OLAP solutions
  • Data Quality Client
    • Manage and handle data quality
  • Integration Services
    • Import and export data with custom workflows. You can use the Scale Out Master or the Scale Out Worker. These configurations are related to the package execution work process and optimize the execution.
  • SQL Client Connectivity SDK
    • Additional tools for connectivity to SQL Server
  • Master Data Services
    • Centralize and manage similar data across your databases
  • SQL Server Extension for Azure
    • Additional extensions that can be used for Azure

We will just install the database engine.

Instance Configuration

In the instance configuration, we enter a name to be used for the SQL Server instance. In this example, I am creating a new database engine with the instance name of instance2022. You could use the default as well.

Create SQL Server instance

Server Configuration

The server configuration allows creating or adding service accounts for the different services used by SQL Server. You can use the defaults or create new accounts with custom security and passwords to run the services.

The Grant Perform Volume Maintenance Tasks privilege to SQL Server Database Engine Service. This privilege improves the performance for database operations like database creation, restorations or improves the speed of the file growth.

server configuration

Database Engine Configuration

The database engine configuration allows you to configure several parts of the installation.

Server Configuration

  • Select the SQL Server authentication mode to connect the instance, either mixed mode or Windows authentication. You can also add accounts that should have complete access to SQL Server. The Add Current User, will add the user used during the installation as an administrator.
Database Engine Configuration

Data Directories

You can specify the system database path by configuring your Data root Directory. You can define where to store the Data directory and the Database Log. The backup directory can be specified too. It is a best practice to store the databases, log files and backups in different disks for security and performance best practices.

sql server 2022 installation

TempDB

  • The TempDB is an important system database used to store temporary data. The configuration and values specified can improve the performance.
sql server 2022 installation

MaxDOP

  • MaxDOP is important to have a good performance. For more information, please check out this MAXDOP settings article.
sql server 2022 installation

Memory

sql server 2022 installation

Filestream

  • FILESTREAM is used to store files outside of the database like videos, PDFs, Word files, Excel files, and others.
sql server 2022 installation

Ready to Install

Once everything is configured, you can check the configuration and press the Install button to continue. The Installation Progress window will display.

Ready to install SQL Server

Complete

SQL Server 2022 should now be installed, and the relational database management system is ready for use.

The installation time takes between 15 and 30 minutes depending on the components installed.

Complete SQL Server installation

Key Takeaways

  • This article explains how to install SQL Server 2022 by downloading and setting it up on-premises.
  • Ensure your system meets the minimum requirements, including memory, processor, and operating system.
  • Choose between installation options like Basic, Custom, or Download Media. Use the Custom option for more flexibility.
  • Follow the installation steps to configure SQL Server, including server and database engine settings.
  • After installation, connect to SQL Server using SQL Server Management Studio (SSMS) to start working with databases.

Frequently Asked Questions

What software should I use to administer SQL Server 2022?

Once SQL Server is installed, you can install SQL Server Management Studio.

What is the Integration Services Scale Out Master option?

This is a feature that was added in SQL 2017 to distribute package execution to several machines instead of one machine. For more information about SQL Server Integration Services Scale Out, refer to SQL Server vNext (SQL Server 2017) SSIS Scale Out Feature.

Is it possible to run Python scripts in T-SQL?

Yes, in the SQL Server installer you need to install the Machine Learning Services to run R or Python. Here is information on Installing and Setting up SQL Server to use Python.

Where is the SQL Server Reporting Services option in the installer?

SQL Server Reporting Services is now a separate installer and is not included in the SQL Server installation. To install SSRS, in the SQL Server Installation Center, select Installation and click then Install SQL Server Reporting Services.

How much disk space is required to install SQL Server 2022?

It depends on the installation options selected. The minimum requirements are approximately 6 GB. Note that you will need additional disk space for databases, logs, updates, backups, etc.

The following table provides an idea about the space required per feature.
– Database Engine, data files, Replication, Full-Text Search, Data Quality Services – 1,480 MB
– Database Engine + R Services – 2,744 MB
– Database Engine + PolyBase – 4,194 MB
– Analysis Services – 698 MB
– Reporting Services – 967 MB
– Integration Services – 306 MB
– Client Tools Connectivity – 328 MB
– All SQL Server features – 8,030 MB

When should I install on-premises and when should I use Azure instead?

Azure makes it easy to get SQL Server up and running quickly. Also, depending on the Azure services, you can offload most of the infrastructure setup and management and just focus on business needs. The downside is that there is a cost to run everything in the cloud. If you already have an on-premises infrastructure it might be easier and more cost effective to use your existing resources.

What are the Data Quality Services?

It is a service used to clean, fix data problems, remove duplicates, fix misspelled text, detect format errors and check business rules. For more information about Data Quality Services, refer to this link Getting Started with SQL Server Data Quality Services – Part 1

What is the Data Quality Client?

The DQ client is used to connect the DQS server and creates KBs, run projects and process administrative tasks. It is basically the UI for the analysts.

Does SQL Server 2022 run only on Windows Server 2022 or later?

At the time this article was written SQL Server 2022 is supported on Windows 2016 (until January 2027 with the extended support). Window 2022 and Windows 2025 is also supported.

I see the Exit Code 1638 error during the SQL Server Installation. How can I solve this?

It is a problem between versions of the Microsoft Visual C++ Redistributable. Maybe another application installed a different version of this redistributable software. To fix this problem, go to Program and Features in your computer and repair your Microsoft Visual C++ Redistributable. It may be required to reboot your machine.

What is the recommended value for the Max Server Memory setting?

The default value is 2147483647. However, this value is not recommended. As a rule, use around 75% of your OS memory for SQL Server and leave the rest for the OS and other processes. If it is not a dedicated server for SQL Server, you may need to use less memory for SQL Server.

Which authentication option should I use, mixed mode or Windows authentication?

For security, it is recommended to use Windows Authentication. If you need to use SQL Server authentication for some applications that do not support Windows authentication, you can use Mixed mode. For more information about authentication options, refer to
How to check SQL Server Authentication Mode using T SQL and SSMS.

What Linux Distros support SQL Server 2022?

– RHEL 8.X Server
– RHEL 9.X Server
– SUSE Linux Enterprise Server SLES 12 with SP1 to SP4
– Ubuntu 20.04 or 22.04

It is also possible to install SQL Server Docker Engine 1.8 or later, Kubernetes or OpenShift on Linux.

Next Steps

The next step is to connect to SQL Server and begin working on SQL database development and administration. To do that, you should download Microsoft SQL Server Management Studio (SSMS).

Check out these resources to get started:

Here are some additional SQL Server 2022 articles to get started:

12 Comments

  1. Great, except SQl2022 installer does *not* contain the menu for “SQL Client Connectivity SDK Additional tools for connectivity to SQL Server” eny longer.
    That is gone.

  2. Daniel,
    Just a heads up on your article. The link to download SQL Server 2022 is no longer working. Instead, that link takes the reader to the 2025 Eval version for downloading. Microsoft has deprecated the webpage for the 2022 version.
    However, all is not lost yet. Here is a direct download link for the 2022 Developer Edition.
    https://download.microsoft.com/download/c/c/9/cc9c6797-383c-4b24-8920-dc057c1de9d3/SQL2022-SSEI-Dev.exe

  3. Unable to install SQL Server (setup.exe).
    Exit code (Decimal): -2061893606Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    How can I fix this issue. Unable to install SQL server express 2022. Tried 10 times again and again but same error will come.

  4. Hi Daniel,

    from the screenshots it seems you were installing SQL Server 2022 CTP2.0.
    However, in the final version, it seems there are less features to choose from in the installation. (see screenshots in this blog post https://sqlkover.com/how-to-install-sql-server-2022/).
    For example, client connectivity SDK is missing. Maybe the tip can be updated with recent info?

    Regards,
    Koen

  5. Thanks for the detailed instructions — I could quickly install SQL Server 2022 using it. By the way, I was happy to learn that my favorite SQL manager supports integration with the latest version.

  6. Daniel,

    Good article, short and to the point.
    Just a heads up to the newbie that might be trying to install this on their local machine.
    In the step “Database Engine Configuration”, the user needs to click on the “Add Current User” button before preceding to the next step.

    Thanks.

  7. Hi Matt, thanks for the input.

    I was able to install SQL 2019 and SQL 2022 CTP 2.0 on the same VM and both are working.

    -Greg

  8. Possibly of importance to your readership is that the 2022 Preview is not able to be installed side by side with an existing SQL Server instance. (At least that was the case when I was testing it in early 2022.) So you have to have a dedicated machine that doesn’t have SQL Server installed on it. (Which for me meant spinning up a new VM to play around temporarily.)

Leave a Reply

Your email address will not be published. Required fields are marked *