CS403-Database Management System Assignment No.5 Solution and Discussion Fall Spring 2013Due Date 9th July 2013

Database Management System (CS403)

Assignment No.5

                                           Total Marks:    20

 

Deadline

Your assignment must be uploaded before or on Tuesday 9th July 2013.

 

Rules for Marking

It should be clear that your assignment will not get any credit if:

  1. The assignment is submitted after due date.
  2. The assignment is copied.
  3. The assignment is not submitted in .doc file.

 

Objectives

The objective of this assignment is:

Giving the idea of the most commonly used RDBMS for designing physical database systems i.e. SQL SERVER. It is used to design systems physically either through Query Analyzer OR Enterprise Manager.

 

Important things to consider before doing this assignment: 

 

  1. This Assignment is the continuation of Second Assignment. Taking in consideration the same case study of Security Information System, a conceptual database has been provided in the form of an ERD.
  2. Now you have to complete your next phase of the Database Development Process which is physical database design. You will create it by utilizing the ERD provided in the next page.
  3. Apply foreign key constraint at this stage.

 

Task Description:

 

In this assignment you will focus only on the tasks given below:

 

  1. Open the Query Analyzer, and then create a new database by your id, like a sample screenshot provided on the last page of this file. Then create all the tables in this database by using it.
  2. You are required to transform all entities into tables by CREARE TABLE.
  3. You have to transform all entity attributes into columns.
  4. Define appropriate data types of each attribute.
  5. Apply entity integrity constraint by defining primary key, and foreign key of each entity.
  6. Write an SQL query to insert one row to each of the table.
  7. Take screenshots of your work, and paste them in your solution file (.DOC file).

 

 

Note: Use all concepts and techniques you have studied so far discussed particularly in lectures 24-33.

 

 

 

ENTITY RELATIONSHILP DIAGRAM OF Security Information System

 

 

                                                              Sample Screenshot

GOOD LUCK

Spring%202013_CS403_5.doc

                

Views: 14235

Replies to This Discussion

screen shoot kesay lenay ha plz help me

easy if using pc and windows os then

PRESS print screen button

and press ctrl + v on document

if running windows on mac via bootcamp then FN+shift + f11

Check it 

Attachments:

almost correct good work

some error in inserting records

and missing fields in image and video table

select ki query chalana zaroori to nai hai ?

Junaid ????

yeah bro

Mera yahi tou masla hai jiski waja se main bna nhi paa rhi :( kal se is par sir khapa rhi hun :'(

or ab tou time bhi nhi rha yaar :'(

aik to SQL ki rola dala hwa hy :X uper se time b kam hy or lite ka b koi pa nai ://////

advice for you mr tariq put a lot better screen shots just use some photo editing tool and edit your id in db and screen shots  :) per cheating hai yay

sirf screen shot hi doc file mai dal k submit krni hi, ya data bi .... ? plzzz reply

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service