Install SQL Server 2022 Developer Edition
Now that we have installation media, we can start the installation of the SQL Server.
Let’s see how to install SQL Server step by step.
Step 1.Run install media file (ISO file) downloaded in above section by double-clicking
on it. It will extract/mount all the contents in a new temporary drive.
Image 1. ISO file
Image 2. Extracted contents
Step 2. Once extraction is completed, double click on the setup.exe file and you will
see the below screen. Click on the Installation option in the left panel and then click
on New SQL Server stand-alone installation or add features to an existing
installation option from the right panel.
Step 3. Now you will see the Product Key window. Select the Developer option from
the dropdown and click on the Next button.
Step 4. Now you will see the License Terms window. Just select the checkbox and
click on the Next button.
Step 5. Now you will see the Microsoft Update window. It is not compulsory to check
for the latest updates but it is recommended. So, select the checkbox and click
the Next button.
Step 6. Now it will check for updates and install them if any.
Step 7. After that, it will check some rules or prerequisites for the installation of SQL
Server. Once all the rules passed, click on the Next button. Sometimes you may face
an error at this stage. You can find some known errors at the end of this article.
Step 8. On the Feature Selection window, select features as shown in the below
screenshot. You can also change the location for SQL Server instance installation but I
will go with the default location. After feature selection please click the Next button.
Step 9. It will check some feature rules/prerequisites and then you will see the Instance
Configuration screen. Here you can choose between Default Instance and Named
Instance. Here I will go with Named Instance.
Default Instance
When SQL Server is installed in the default instance, it does not require a client to
specify the name of the instance to make a connection. The client only has to know the
server name. For example, HARDIK-PC.
Named Instance
A named instance is identified by the network name of the computer plus the instance
you specify during the installation. The client must specify both the server name and the
instance name when connecting. For example, HARDIK-PC/MSSQLSERVER.
Step 10. Next, you will see the Server Configuration window.
In Service Accounts tab, select Automatic in Startup Type for SQL Server Agent,
SQL Server Database Engine, and SQL Server Browser services.
In the Collation tab, select collation as per your preference.
“Collations in SQL Server provide sorting rules, case, and accent sensitivity properties
for your data. Collations that are used with character data types, such
as char and varchar, dictate the code page and corresponding characters that can be
represented for that data type.” – Microsoft.
Step 11. Next, you will see the Database Engine Configuration window. In the Server
Configuration tab, choose Window Mode in the authentication mode section windows
user should already be added automatically. If not, click on Add Current User button.
Choose this mode (No need for password)
Don’t choose this mode
Click on the Next button.
Step 12. Next, the setup will check some feature configuration rules, and then
the Ready to Install window will appear. This window shows the summary of all the
features and configurations which we have done in the above steps. Once review the
summary and click on the Install button.
Step 13. Now, the installation will start and it may take some time based on our
configurations.
Step 14. After installation, it will show you the list of features and their installation
status. If any error occurred, it will show here.
Congratulations! We have successfully installed SQL Server 2019 Developer edition on
Windows machine. Next, you can install SQL Server Management Studio to connect
SQL Server and query SQL databases. Please follow below steps to install SQL Server
Management Studio.
Install SQL Server Management Studio
Step 1. Run the downloaded file and you will see below screen. Just click on
the Install button.
Step 2. It will start installing management studio. It will take some time.
Step 3. Once installation finished, close the installation wizard and open start menu and
search for SQL Server Management Studio. You will see below application. Now, click
on it to open the application.
Step 4. Next, you will see below screen. In Connect to Server window, you can see
the SQL instance name, which we have just installed. (Ref. Step 9). You can connect an
instance with either Windows Authentication and make sure you check Trusted
Certificate check box
Step 5. Once you successfully authenticated, you can see Object Explorer in which
you can find database list and other SQL objects.
So, hope you understand how to install and connect SQL Server using SQL Server
Management Studio.