Get Writing Help
WhatsApp
    ✍ ️Get Free Writing Help
WhatsApp

Tables, Keys, and Constraints


Write My Assignment FREE

 

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.

 

 

The post Tables, Keys, and Constraints first appeared on COMPLIANT PAPERS.

Plagiarism Free Assignment Help

Expert Help With This Assignment — On Your Terms

Native UK, USA & Australia writers Deadline from 3 hours 100% Plagiarism-Free — Turnitin included Unlimited free revisions Free to submit — compare quotes
Write My Assignment FREE Get A Free Quote →
Limited Offer     Get 25% off your first order — use code STUDYLINK25 at checkout    Claim Now
 
Don`t copy text!