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

show your efforts yara

post your problem i will guide you

Junaid mera SQl install hogya hai lakin agey database create he nhi hota :( main new database create krti hun tou apna id deti hun tou wo kehte hain i can't make new database in master :( plz guide me through this

that's because you have no rights to create it

simply use sql server authentication 


in object explore

right click on top of tree view select server properties

in permission grant all permission on your login name

No its not working neither with SQL server authentication they are asking for login and pw and i don't know the login and pw :(

can u come to my pc through teamviewer Little chef?

during the instillation process the instillation wizard asked about the authentication if you entered mix mode instillation then it will ask password for 'sa'

anyway try this

open sql server

expand security in tree view

expand logins

and check that your login name exist here if yes then click on it and check the rights

just right click on your name then properties

then in server roles

click on all checks

apply it and then try it will 100% work for you

and if you name login name is not there (windows login name) then

add it and assign server roles

also can do it by doing this

  1. Start All Programs --> Microsoft SQL Server 2005 --> Configuration Tools --> SQL Server Surface Area Configuration

  2. Add New Administrator

  3. Select 'Member of SQL Server SysAdmin role on SQLEXPRESS' and add it to right box.

  4. Click Ok.

have u submitted ur assignment?

yeah but not gonna share it

MR tariq share a very good solution just edit it with your id and submit it

junaid is sab se next kia krna hay >>> ye ju 1,2,3,4 steps batey hain .. next kia krna ?

then your ready to create your db just execute your queries

if confusion in it then post them here

Thanks junaid m bhot confused thi


Looking For Something? Search Below

Latest Activity

Karina Lopez left a comment for Umm-e-Aimen
1 hour ago
Karina Lopez left a comment for Huma noor
1 hour ago
Karina Lopez left a comment for Sparking TwinKle
1 hour ago
Karina Lopez left a comment for Ruqia
1 hour ago
Karina Lopez left a comment for Suha Khan
1 hour ago
Karina Lopez left a comment for Batool
1 hour ago
Karina Lopez left a comment for Student
1 hour ago
Karina Lopez left a comment for Muhammaad Arif
1 hour ago

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

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