- Back to Home »
- CS403 Assignment no 3 Fall 2012 Full Solution
Posted by : Anonymous
Tuesday, 8 January 2013
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:
- This Assignment is the continuation of Second Assignment. Taking in consideration the same case study of BEST Mart system, a conceptual database has been provided in the form of an ERD.
- 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 same ERD which is provided in the next page (2nd Assignment Solution).
- You do not need to apply foreign key constraint at this stage.
Task Description:
This Assignment is 4th phase of Database Development Process and in this assignment you will focus only on the tasks given below:
- 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.
- You are required to transform all entities into tables by CREARE TABLE.
- You have to transform all entity attributes into columns.
- Define appropriate data types of each attribute.
- Apply entity integrity constraint by defining primary key of each entity.
- Write an SQL query which will be used to add a new column ‘CITY’ with an appropriate data type in CUSTOMER table.
- Take screenshots of your work, and paste them in your solution file (.DOC file).