We have been working very hard since 2009 to facilitate in 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: 14201

Replies to This Discussion

just tabels k screen shot he assingmnet kerna hain na ya in ma values b enter ker k show kerni ha

kindly meri ye problem solve kr dyn me so worried about asignment 3 days sy try kr rahi hon sary links use kr liye pr kuch b nahi ho raha. plz help me pehly hi cs304 me 0 aya.


windows 7 32 bit main konsa SQL server install krna thik rhe ga?? plz tell me,,

jo true na uper page ma file di hua ha wo load kero best ha

SQL Server manager 2005

sql 2005

jb ap sql open kerti ho to just right click ker k run as adminsterator kro run ho jjya ga.then new query open ker k jo command true na di ha solution ideas ma wo past kero or excute kero ho jya ga.ma na aj subha he is error ka haal kerwia ha

 nahi ho raha connect actually problem iss waja sy a rahi hy file attach me dehkyn yahan sy kuch mistake ho rahi hy plz help kry koi boht time wast ho giya hy pehly hi.


1 table mein 2 foreign  keys kesy dain gy????????

Camera k table mein 2 foreign keys daini hain 1 image ki 2sri video ki wo kesy daini hy??????????? 

agr ksi ko pta hy to plz jaldi bta dain

you are not connect with any server

first  check SQLSERVERS ARE working or not

in control panel \ Administrative Tools\services


check service with name  sql server ..

make sure its is running if not then right click on it and start it

if its okay then

open sql server

press alt + f and connect object explore

then server type database engine

servername = yourpcname\instancename  eg: (mypc\dbsqlserver)

authentication : select windows authentication (if you used mix mode while installing the sqlserver then you can use sql authentication ( user name = sa

password (which you entered ) and it will connect the server

mera tu SQL he download nhi raha abi tak aj extended hai  

agr ksi ko pta hy to plzzzz jaldi bta dain aj is asssignmnt ka extended day hy?


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

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