hospital database using SQL, SSTD and SSRS

Anonymous
timer Asked: Apr 23rd, 2020

Question Description

Contents of submission:

  • DD (data type, constraints)
  • Database Diagram
  • Tables, Views, Stored Procedures
  • 2 Table level Triggers of your choice
  • 1 Rule and 1 Default (database level)

Required Items: Tables

  • You must have at least one Check, Default, Calculated Column.
  • Each table must have PK index set to non-clustered.
  • Each table must have a clustered index.
  • You must have at least 20 Nurses, 50 patients, 100 beds, 5 wards, 10 Physicians.
  • You must have at least 10 items, 10 treatments, 5 specialties.

Required Items: Views

  • You must have at least 3 views, 1 must be indexed
  • You must use 'as' to set labels for the columns in your result sets
  • View 1: List of Nurses full names assigned to all Wards in the past month, grouped by Ward.
  • View 2: All Patients full names and their ages calculated from their DOBs, assigned to beds in the past month.
  • View 3: Longest, Shortest, and Average length of stay at the Hospital.

Required Items: Stored Procedures

  • 4 sprocs, 1 with at least 2 parameters.
  • Sproc 1: Patient full name and age, @patient
  • Sproc 2: List of Beds, size, type, by Ward, @Ward
  • Sproc 3: List of Patients by full name and Ward assigned in past month, with admitting physician last name, @patient @physician
  • Sproc 4: List of all patients not assigned to a bed and all beds not assigned to a patient.

Additional Requirements: Logic checks

  • You must demonstrate each view and each sproc logic checked.
  • For example, if your query is time range based, then it should be logic checked against the same query not time based. If your query is an inner join, then it should be logic checked against the same query with an outer join (left, right, full).

    Delivery:
    1. Data dictionary detailing column labels, data types, defaults, rules, checks, index, identity, unique.
    2. Database diagram demonstrating connections (PK-FK) between tables.
    3. Upload DBDD, MDF, LDF files.

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors