For this Critical Thinking Assignment, you will complete the hands-on activity, Project 4-1: Creating Databases and Tables, based on p. 149 of the MCSA guide to Microsoft® SQL server 2012 textbook.
For this Critical Thinking Assignment, you will use the SQL Server named instance SQLSERVERHOA you created in the Module 1 Critical Thinking Assignment. The objectives of this activity are to configure two new user databases and to create new tables and a foreign key relationship.

Use SQL Server Management Studio to connect to the SQLSERVERHOA instance. Create a new user database with the name HandsOnOne using the New Database dialog box from Object Explorer. Use the default database settings with the following exceptions:

Data file initial size: 40 MB
Log file initial size: 15 MB
Autogrowth enabled with 15 MB in file growth
Unlimited maximum file size

Use Object Explorer to generate a CREATE DATABASE script from the HandsOnOne database in a new Query Editor window. Change the name of the database in the SQL script to HandsOnTwo and modify the data file initial size to 35 MB. Execute the SQL script to create the database named HandsOnTwo. Document this step by saving a copy of the SQL Script, and after executing the command, take a screenshot of the Query Editor window, showing that the query completed successfully.
Using either Object Explorer or Query Editor, set the recovery mode for the HandsOnOne database to full. Set the recovery mode for the HandsOnTwo database to simple. Document this step by taking a screenshot of the options page in the database properties window for each database.
Using Object Explorer—or by running a SQL command in the Query Editor window—rename the HandsOnTwo database to HandsOnTwo_Delete.
Execute a SQL command to DROP the HandsOnTwo_Delete database. After executing the SQL command, document this step by taking a screen shot of the Query Editor window to show that it completed successfully.
Using Object Explorer, create a new table named Customer with the following column names, associated data types, and constraints:

Column name

Data type

Constraint

CustomerID

int

Primary key

CustomerName

nvarchar(40)

Not null

CustomerAddressID

int

Not null

Take a screenshot of the Table Designer window to document this step.

Using Query Editor, construct and execute a SQL command to create a new table named Address with the following column names, associated data types, and constraints:

Column name

Data type

Constraint

AddressID

int

Primary key

Street

nvarchar(50)

Not null

City

nvarchar(40)

Not null

State

char(2)

Not null

ZipCode

nvarchar(10)

Not null

After executing the SQL command, document this step by taking a screenshot of the Query Editor window to show that the query completed successfully.

Using Object Explorer, create a foreign key relationship between the Customer and Address tables. The AddressID of the Address table is the primary key, and the CustomerAddressID of the Customer table is the foreign key. After creating the key, view the dependencies of the Address table in Object Explorer and take a screenshot to document this step.
Reflect on what worked well and which steps you struggled with in a paper of 1-page minimum that follows the CSU-Global Guide to Writing and APA.

Deliverable
After completing these steps, combine the five appropriately labeled screenshots and the written reflective portion into a single MS Word document.
 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

The post thanks-in-advance-and-please-answer-the-below-question appeared first on Essay Fount.


What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"