Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

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



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.



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.







                                                              Sample Screenshot




Views: 14372

Replies to This Discussion

yar software nahi install ho raha. screen shot kiddhar se upload kron

mera hogya install>>>>> on right side in important link click on "student handbook">>>>> new window will open

click on how to study at vu then >>>> resources then click on "vu content library" or simply copy this link in browser


then give ur id and pasword,

write code in search by couse block n search

downloads aen gi wahan sy download karo

yahan se install hogya.. bgair koi error deay :(

LMS se download ma error daita tha mera

tell me your OS hurry up and bits

create database k bad next table likhnay k liay new window kaisay open hogi?

Use BCxxxxxxxxx; window commad use karnay kay command koo khatam karo aur nai table command likhooo same window tarha command kahtam kartay jaooo aur nai command likhtay jaoooo......assignment complete hooo jaye geee....Best of luck

thanks. hogae ha.

Kindly send me the link from where i can download my sql software. Mainy abhe tak download ny keya or assignment kesy bnay ge tension ho gye h mugy to...........

you don't need to open new query editor

just write the query then select it from start to end and press f5 it will execute it

Guyz please all of u who havn't made assignment yet mail the instructor to extend date of this assignment please :(

apny id sy  kasy create ho g mery pas bar bar ak he error aa raha..k ye id already exist karta ha choose a different database name...kuch smjh ni aa raha......

sql quer analyzer just download kro

and backend pe wampserver  install kro us m phpmyadmin hota hai then creat ur data base and 

creat tables.

ye query analyzer hai download kro abi and install



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

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