Microsoft SQL Server is one of the most popular database management systems used in enterprises globally. The Developer Edition is a free, fully-featured version suitable for development and testing purposes. SQL Server Management Studio (SSMS) is a graphical interface for interacting with SQL Server, making it easier to manage databases. MS SQL Server can be intergrated with popular tools like Tableau, Python, Power BI, and Excel to enhance data analysis and visualization capabilities.
Downloading and Installing MS SQL Server Developer Edition
- Visit the official Microsoft SQL Server Downloads page: SQL Server Downloads
- Under the "Developer" section, click Download Now.
- Once the installer file is downloaded (SQL2019-SSEI-Dev.exe), run it to begin the installation.
When you launch the installer, you will see three installation options:
- Basic: A simplified installation with default configurations.
- Custom: Allows you to specify installation options like instance configurations.
- Download Media: Downloads the installation files for offline use.
For beginners, I recommend selecting Basic for the first installation, which installs SQL Server with the default settings.
-
Accept License Terms
Once the installation process begins:
You will be prompted to accept the license terms. Read through them and click Accept.
-
Installation Path
Choose the destination folder for SQL Server installation. The default is usually fine, so click Install.
-
Installation Process
The installer will now download and install SQL Server components. This can take a few minutes, depending on your internet speed and system performance.
-
Complete Installation
Once the installation is complete, the setup will display the server connection information, including the server name.
Note this down as it will be used later for connecting via SSMS.
Finally, click Close to exit the setup.
Configuring SQL Server After Installation
Open SQL Server Configuration Manager
After installation, you need to configure the server to allow remote connections or change the authentication mode (if needed):
- Press the Windows key and type SQL Server Configuration Manager.
- Open the application to configure services and protocols.
Enable SQL Server Authentication Mode
By default, SQL Server uses Windows Authentication. If you want to enable SQL Server Authentication:
- Open SQL Server Management Studio (SSMS) (once installed in the next section).
- Right-click on the server name in the Object Explorer.
- Go to Properties > Security.
- Select SQL Server and Windows Authentication mode and click OK.
Restart the SQL Server service for changes to take effect by navigating to SQL Server Configuration Manager.
Downloading and Installing SQL Server Management Studio (SSMS)
Download SSMS
- Visit the official Microsoft SSMS download page: Download SSMS
- Click Download SQL Server Management Studio (SSMS) to download the installer.
- Install SSMS, Run the downloaded installer (SSMS-Setup-ENU.exe).
You will be prompted to choose the installation path. The default path is usually fine, so click Install.
The installation will begin and may take several minutes. Once installed, SSMS can be launched directly from the start menu.
Connecting to SQL Server Using SSMS
Launch SQL Server Management Studio
Open SQL Server Management Studio from the start menu.
In the Connect to Server window that appears:
- Server Type: Select Database Engine.
- Server Name: Enter the server name from the installation step, or use localhost if installed on your local machine.
- Authentication: Choose Windows Authentication (or SQL Server Authentication if configured earlier).
- Click Connect to establish a connection to the SQL Server.
Explore SSMS Interface
Once connected, you will see the Object Explorer on the left, which lists the SQL Server instances and databases.
You can expand the nodes to explore databases, security settings, and other objects.
Creating Your First Database in SQL Server
Now that SQL Server and SSMS are set up, let’s create a simple database:
- In the Object Explorer, right-click on Databases and select New Database.
- Enter the name of your new database (e.g., TestDatabase).
- Click OK to create the database.
The new database will appear in the Object Explorer under the Databases node.
You can now write and run SQL queries against your database!
Conclusion
In this guide, we’ve walked through the installation of Microsoft SQL Server Developer Edition and SQL Server Management Studio (SSMS). These tools are essential for building and managing databases. With the Developer Edition, you can start building, testing, and learning SQL Server without the limitations of the Express version.
Now that everything is set up, you can begin exploring databases, writing SQL queries, and building projects. For more advanced features and configurations, Microsoft’s documentation is a great resource to continue your learning journey!