Need help with the sql server database

  

1. Using the attached ERD file (animal hospital.pdf), the Normalization Table excel file (Normalization Table Animal Hospital.xlsx) create tables and insert the data form the normalization table. i.e.:

Ensure every table has a primary key, create a new database for this exercise, this way if you need to you can delete the database and start over. i.e.:

CREATE DATABASE animal_hospital;

GO

USE animal_hospital;

GO

DDLs/DMLs goes here

Screen shot goes here

2. Using the ERD add foreign keys to the tables that require them (should be five foreign keys). 

DDLs goes here

Screen shot goes here

3. Alter or update the tables in the animal_hospital database as follows:

a. Change the size of the street column in the customer table to char(250).

DDL goes here

Screen shot goes here

b. Add a constraint to the customer table so only the two digit abbreviation for the stat can be used. (only do New York, New Jersey, Connecticut)

DDL goes here

Screen shot goes here

i. Try inserting the following DML command into the customer table. What error did you get?
INSERT INTO dbo.Customer values( 204,’Ms.’,’Helen’,’Smith’, ‘750 King Street’,’Springfiele’,’MO’,’52145′);

Answer goes here

Screen shot goes here

4. Using the SELECT INTO Statement copy the pet name from dbo.pet, the type of pet from dbo.pet_type, and the whole name of its owner including salutation in one column. See example of solution for column names.

DML goes here

Screen shot goes here

  

5. Using the INSERT SELECT Statement create a table of 3 columns that will hold the copied data of the pet id from dbo.pet, the name of the pet from dbo.pet, and the type of animal 

DML goes here

Screen shot goes here

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more