Implementing the database
In this section, we are going to create a SQL Server database for our Q&A app. We will then create tables in the database that will store questions and answers. After that, we will create stored procedures that read and write records in these tables.
Creating the database
We are going to create the database using SQL Server Management Studio (SSMS) by carrying out the following steps:
- Open SSMS and connect to the SQL Server instance:
- In Object Explorer, right-click on Databases and click on the New Database... option.
- Enter
QandA
for the name of the database and click OK: - Once the database has been created, we'll see it listed in Object Explorer: