Question: Administering Windows SQL Server 2 0 1 4 - Assignment # 2 Creating your own relational database Goal: Create a relational database that maintains a
Administering Windows SQL Server Assignment #
Creating your own relational database
Goal:
Create a relational database that maintains a list of College Programs and students.
There should be at least two tables.
One for students
One for school programs
if you feel there needs to be more tables, please explain your design
Requirements:
For each student, we need a student ID Social insurance number, firstname, lastname,
email address, phone number, and start date
a Student ID & Social Insurance numbers, should be unique
b Social insurance number format must be: NNNNNNNNN: Example:
For each program, we need the program code, program name, program contact email
address, program contact name, and program startdate
a A program should be unique by name and startdate
A student cannot exist without being part of a program
A student can only belong to one program at a time.
There should be at least programs
There should be at least students
Create a stored procedure for adding students
Create a stored procedure for adding programs
Create an index on the students' names and email address
Create an index on the program name, contact name, and program email
Create a view that leverages these indexed columns to display a students and their
respective programs
a not show social insurance number in this view
Populate an initial list of programs using a script
Populate an initial list of students using a script
Deliverables
A full backup of the database
A copy of the scripts used to insert the initial students & program data found in requirements
&
Instructions on how to use your stored procedures
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
