Start the VM for assignment three. Inside the VM, click Start, type SSMS (to open SQL Server Management Studio), and connect to the instance. Select Databases, then select the AdventureWorksDW2017 database for this assignment.
In this assignment, students will create database tables and implement keys and restraints.
The human resources department has requested that you create a table that can be used to store birthdays in the database. This table will be used to support a newsletter that is distributed internally to report on office events.
Please note that when SQL queries are run, results are generated in the form of data. This data should be exported and saved to a Microsoft Excel file for a visual check of accuracy.
Create a Microsoft Word document that includes the SQL query code used to explore the database tables and complete the following criteria. Make sure to provide a screenshot for each.
- Create BusinessEntityID column as an integer. Include a DoB (Date of Birth) column and a date format.
- Add a constraint to make BusinessEntityID a primary key.
- Insert one record for BusinessEntityID 1 and include 1990/01/01 as the birthday.
- Once added, query your new table showing the new record.
Submit the Word document (with screenshots).
APA style is not required, but solid academic writing is expected.
This assignment uses a rubric. Please review the rubric prior to beginning the assignment to become familiar with the expectations for successful completion.