optimalDb is a project to help us with sql server based tasks as well as creating c# classes for several problems that we face at our workingplace.
The software loads a list of connection strings and allows for easy access to the databases and database objects within.
In this guide, we will walk you through setting up a local Microsoft SQL Server Express and installing the AdventureWorks sample database.
- Visit the official Microsoft SQL Server Express download page.
- Click on the "Download now" button under the SQL Server 2019 Express.
- Once the download completes, open the installer.
- In the SQL Server installation center, click on the "Basic" installation type.
- Accept the license terms and click "Install".
- Wait for the installation to complete.
- Upon completion, make note of the server name (you will use this to connect to the server), and then click "Close".
SQL Server Management Studio (SSMS) is a software application first launched with Microsoft SQL Server 2005 that is used for configuring, managing, and administering all components within Microsoft SQL Server.
- Visit the official SSMS download page.
- Click on the "Download SQL Server Management Studio (SSMS)" button.
- Once downloaded, run the installer and follow the on-screen instructions to install SSMS.
- Visit the AdventureWorks Sample Databases on Microsoft's website.
- Download the
AdventureWorks2019.bak
file. - Open SSMS and connect to your SQL Server instance.
- Right-click "Databases" and then select "Restore Database".
- Select "Device" and then click on the "..." button to browse for the
AdventureWorks2019.bak
file you downloaded. - Click "OK" to start the restore process.
- Once the restore is complete, you should see the AdventureWorks database in your list of databases in SSMS.