Download and Install SQL Server 2022

How to Download and Install SQL Server 2022

In this article, I will discuss how to Download and Install SQL Server 2022 on the Windows Operating System. Please read our previous article, discussing how to Download and Install Visual Studio Code.

Next, we are going to install SQL Server 2022. Remember, we will develop Data-Driven Web Applications; we need some data. We can hard code the data in memory. But in real-time, we need to work with databases. As a database, in this course, we are going to use SQL Server. Now, let us download and Install SQL Server 2022 Developer Edition.

How to Download SQL Server 2022

So, let’s download it, and then we will talk about the installation. So go to Google.com or your favorite search engine and have a look for Download SQL Server 2022. And you can see that the top instance here is from Microsoft.com. So, click on it as shown in the below image.

How to Download SQL Server 2022

You can also directly visit the following URL to download SQL Server Latest Version:

https://www.microsoft.com/en-us/sql-server/sql-server-downloads

Once you click the above link, you will see three big entries at the top, as shown in the image below.

How to Download SQL Server 2022

We don’t want any of those. Instead, go down and download a free specialized edition. And in this case, we’re going to download the developer edition. So, click the Download Now button, as shown in the image below.

How to Download SQL Server 2022

Once you click on the Download Now button, a very small document (actually the SQL Server Developer Edition 2022 EXE file) downloads, which is only about five megabytes, as shown in the image below.

How to Download SQL Server 2022

Now click on the above EXE file or double-click on the EXE file from its downloaded folder, and one popup will open. Click yes, and then it will ask you what you want to download, as shown in the below image. Do you want to download a very basic version with the default configuration? It will allow you to make the select statement. It will allow you to do some database administration but not much more. So, if you want to do other things, such as SSAS (SQL Server Analysis Services), SSIS (SQL Server Integration Services), and SSRS (SQL Server Reporting Services), then don’t select the Basic option. The other options are Custom and Download Media. I like to Download Media simply because I want to be able to reuse it on multiple computers. So, I click on the Download Media option, as shown in the below image.

How to Download SQL Server 2022

The following window will open once you click on the Download Media option. Here, I am going to download it as a CAB, which is a compressed media that contains .exe and .box files. Next, select the language as English and select the download location. Here, I go with the default location and finally click the Download button, as shown in the image below.

How to Download SQL Server 2022 on Windows Operating System

It will take some time to download the required files, and once the download is successful, you will get the following message. Once the download is successful, I will open the folder next. To open the folder, click the Open Folder button, as shown in the image below.

How to Download SQL Server 2022 on Windows Operating System

The following image shows the folder’s content. It just contains two files: one .exe and one .box file.

How to Download SQL Server 2022 on Windows Operating System

Installing SQL Server 2022 on Windows Operating System:

In order to install SQL Server, double-click on the EXE file, as shown in the image below.

Installing SQL Server 2022 on Windows Operating System

Once you double-click on the exe file, one popup will appear asking, “Do you want to allow this app to make changes to your device?” click Yes, and we will make changes. Once you click yes, it will ask you to select the location for the extracted files, as shown in the image below. In my case, I am going with the default location, C:\Users\Pranaya\Downloads\SQLServer2022-DEV-x64-ENU\, and clicking on the OK button, as shown in the image below.

Installing SQL Server 2022 on Windows Operating System

It will extract all the files into the specified folder, as shown in the below image.

Installing SQL Server 2022 on Windows Operating System

Once the extraction is completed, the following SQL Server Installation Center will open: There are many tabs on the left-hand side, and we don’t need to know much about them at the moment. We are only interested in the Installation tab, so click on it as shown in the image below.

Installing SQL Server 2022 on Windows Operating System

Once you click on the Installation tab, the following window will open. Here we need to click on the New SQL Server Standalone Installation and Add Features to an Existing Installation option, as shown in the below image.

How to Install SQL Server 2022 on Windows Operating System

Once you click on the above link, the automatically installed setup files will open. Click Next if you get the following screen: If you are getting a Windows Firewall Warning, this is fine, and you can proceed by clicking on the Next button, as shown in the image below.

How to Install SQL Server 2022 on Windows Operating System

The Installation Type window will open once you click on the Next button. Here, you can choose whether you want a new SQL Server Installation or to add features to an existing one. I chose the Perform a new installation of SQL Server 2022 radio button and clicked on the Next button, as shown in the image below.

How to Install SQL Server 2022 on Windows Operating System

Once you click on the Next button, the following Product Key window will open. Now, in this window, it asks what edition you want. Do you want the Developer Edition, or do you want the Express Edition? Or are you downloading one of the standard or enterprise editions and want to give it 180 days trial, or have you got a product? Well, I’m going to download the developer edition. I’m going to install the developer edition. So, I select the Developer Edition and click the Next button, as shown in the image below.

How to Install SQL Server 2022 on Windows Operating System

The License Term window will open once you click on the Next button. Here, you need to accept the License Term by checking the checkbox and clicking the Next button, as shown in the image below.

How to Install SQL Server 2022 on Windows Operating System

Once you click on the Next button, it will open the Azure Extension for SQL Server. Since we don’t currently have an Azure account, we need to uncheck the Azure Extension for SQL Server checkbox and click on the Next button, as shown in the image below.

How to Install SQL Server 2022 on Windows Operating System

Once you click on the Next button, it will open the Feature Selection window. Here, you need to select what you want to install. If you want to build your select statements and database administrator, you need to select the Database Engine Services checkbox. If you are looking for SSAS, select the Analysis Services checkbox. If you’re looking for SQL Server Integration Services, then you need to select the Integration Services checkbox. If you’re looking for anything else, then you can select that checkbox from the list. And if you want to select everything, you can click the Select All button.

For the purpose of this course, I am just going to install the Database Engine Services only, not the analysis services or integration services. If you want, you can install them. You can change the instant root directory to any other drive if you do not have enough space in the C drive. However, I have enough space on the C drive to create the instant root directory on the C drive. So, from this window, select the Database Engine Services checkbox and click on the Next button, as shown in the below image.

How to Install SQL Server 2022

The Instance Configuration window will open once you click on the Next button. If you are installing SQL Server for the first time, then you need to select the Default Instance radio button. But I have already installed a different instance of SQL Server. So, I cannot select the Default Instance radio button as I have already selected the same with a different SQL Server Installation. So, I am selecting the other radio button, i.e., Named Instance, giving the name SQLServer2022Dev, and clicking the Next button, as shown in the image below. Notice that whatever name we provided, either in Default Instance or Named Instance, will become the Instance ID of this SQL Server installation.

How to Install SQL Server 2022

Once you click on the Next button, the following Server Configuration window will open. I suggest you don’t change this window and click the Next button, as shown in the image below.

How to Download and Install SQL Server 2022 on Windows Operating System

Once you click on the Next button, it will open the Database Engine Configuration window. We are going to be installing Mixed Authentication Mode. This means that we can log in to the database using Windows Credentials and SQL Server Credentials. Here, I am providing the password as SQLServer@2022. And I want to add the current user as an administrator. To do this, click on the Add Current User button. Administrators have all of the power that you need in the instance. Then click on the Next button, as shown in the below image.

How to Download and Install SQL Server 2022 on Windows Operating System

Once you click on the Next button, the Ready to Install window will open, which means the SQL Server instance is ready to install. So, click the Next button, as shown in the image below, to start installing.

How to Download and Install SQL Server 2022 on Windows Operating System

Once you click on the Install button, the installation will start. Once the installation is completed, you will get the following message: Click on the Close button to close the installation.

How to Download and Install SQL Server 2022

Whatever we installed now is the backend. Next, we need to install the front end. That is the interface or client tool to connect to the database and perform database operations.

In the next article, I will discuss How to Download and Install SSMS on Windows Operating System. In this article, I explain How to Download and Install SQL Server 2022 on the Windows Operating System. I hope you enjoy this Download and Install SQL Server 2022 article.

Leave a Reply

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