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: 14344

Replies to This Discussion

assingmnt ho jya ge but SQL server ni ho rha ha bhot sa version check kiya ni ho rhya window 7 62 bit ha  sql ka2005 200 2008 2013 ya  ni ho rhaya koi or ha to bata dain,ji install hota ha wo fully install ni  hota plzz help me

salam help me how can i instal sql server

A bundle of thanx Little Chef bro and +++Qabrstan+++, i realy grate ful to al of u. actuely i was made employee and camera table before department and image , video thats y refrence not create and give error, but now it is clear

apki assi me employee table me gender nahi dala hai apne q??? 


can you tell Little Chef  and +++Qabrstan+++, after sccessful execution where the queries gone if we have to modify it again as i have found just one in my database which shown in tree like structure bu not found others where it go so plz clear this point thanx

A bundle of thanx to al of you, with your great cooperation i learn alot,. Allah ap sab ko isi tarah khidmate khaliq k toufiq dy r apki neek tamanaiye pori kr amin 

acha koi gal ni

bacho sab se phele DEPARTMENT ka table create hon hai phir EMPLOYEE ka phir image nag video ka aur phir CAMERA ka thek hai is trah ap logon se table create karne hain oka

Check it 

sub se pehley ap ne sql 2000 developer edition karna hai us kay bad ap ne start me program par my sql milay ga wah par ap ne service manager ko refresh karna hai ta kay play ka option khatam ho jai agar is kay beghair kam chalta hai to isay chor dain. ab sql query analyzer kholey aur us me
create database mmm;
likh kar F5 press kray us kay bad
use mmm;
likh kar F5 press kray database me ap ka name a jaey ga jaisy me ne ooper likha hai mmm
aur ab table banana shurey kray aur yaad rakhay table bananay kay baad F5 ko aik bar press kray otherwise it can show a message that the table mmm is already exist.

salman bhai database to create ho gai he but use mmm; me ata he 

Server: Msg 1801, Level 16, State 3, Line 1
Database 'mmm' already exists.

new window open ni hoti

When I install sql two new windows is opened that is “you need to have the following volume to continue extraction” and “winrar diagnostic message” kindly guide me how can I install sql


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

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