Create database model using ms visio database model diagram

Assignment Help Database Management System
Reference no: EM13840890

Database Design Using Visio and Based on Data Requirements and Business Rules

Lab Overview--Scenario/Summary

Given a situation containing entities, business rules, and data requirements, create the conceptual model of the database using a database modeling tool.

Given an existing relational database schema, evaluate and alter the database design for efficiency.

Given an existing database structure demonstrating efficiency and integrity, design the physical tables.

Scenario

You have been asked to create a database model using MS Visio Database Model Diagram Template. The purpose of this lab is to provide experience designing, with limited instructions, a simple database based on a list of data requirements and associated business rules.

You will then complete an MS Access database based on the model developed in Visio, creating the necessary tables and relationships.

Upon completing this lab, you will be able to

1. create a new Visio file for database design;

2. using the data requirements and the business rules provided, develop a conceptual model (ERD), including attribute data types and required field lengths; and

3. create a new MS Access database based on the ERD.

Preparation

1. If you are using Citrix for MS Visio and/or MS Access, follow the login instructions located in the iLab tab in Course Home.

Lab

Part A: Create a Visio ERD from Data Requirements and Business Rules

Step 1: Open Visio

a. Open Microsoft Office, Visio application or

b. If you are using Citrix, click on Microsoft Office Applications folder to start Visio.

Step 2: Identify and create the entities

1. Open a new blank Database Model Diagram. If you need assistance with this, refer to the Week 1 Lab Instructions. Be sure that all options are set consistent to those used in previous weeks so that you generate your model in Crows Foot notation.

2. Save the file as YourName_Lab3.vsd.

3. Based on the information provided below, create the necessary entities for the Pages in Time database. If you need assistance to create the entities, refer to labs from Weeks 1 and 2.

Pages in Time

Pages in Time is a small bookstore carrying a variety of books. The owners have decided to computerize the books available through the store so that they can determine more easily what books are on hand and which books need to be special ordered to meet customer needs.

Because customers do not always remember the name of a desired book, the owners want to be able to look for books by author or by type (genre). They also want to be able to find the publisher's information using the system so that they can order books more easily.

After visiting with the owners, you have gathered the following information on data requirements and business rules to develop a conceptual design (ERD), prepare it for conversion to an Access database, and then create the actual database.

DATA REQUIREMENTS

You have determined that you will need at least the following entities to resolve the relationships that exist in the data.

CUSTOMERS
ID
Name (store data in its smallest parts)

Address (store data in its smallest parts)
Phone:
E-mail Address
Preferred Contact Method

ORDERS
Number
Date
Received Date
Customer Contacted (Yes or No)

BOOKS
ISBN Number
Title
Purchase Price
Year Published
Fiction or Nonfiction
Type (Genre)
In stock

AUTHOR
ID
Name (store data in smallest parts!)
Short Biography

PUBLISHER
ID
Name
Address
Phone number
Contact Person
Fax Number
Website

Step 3: Identify and create attributes (fields)

NOTE: Because you are creating your diagram in Visio, it will be easier to create the attributes prior to the relationships.

a. Refer to the data requirements from Step 2 of this lab. If you have not already created the attributes (fields) in your ERD, add them at this time.

b. Be sure that you store data in its smallest parts.

c. Save your file, and continue to Step 4.

Step 4: Identify and designate the keys

a. Detemine whether an attribute exists in each table that will satisfy the requirements of a primary key. If no appropriate field exists, create a field for this purpose.

b. Check the Primary Key property for the field in each table using the Visio column properties.

Step 5: Identify the relationships

a. Using the information below on the business rules for Pages in Time, create the relationships between the entities created in Step 2.

b. Notice that when Many-to-Many relationships exist, you will need to create associative entities. If you are not sure of the process to create relationships in Visio, refer to the Labs for Weeks 1 and 2. You created an associative entity in Week 2.

c. For any associative entities created, enter necessary fields. You may also need to designate or create a primary key.

BUSINESS RULES

Business rules help determine the relationships between data that should help you design the relationships between your entities.

1. Each customer can place many orders over time, but each order is placed by only one customer.

2. Each order may include many books, and a book may be included on many orders.

3. Each book may have multiple authors, and each author may have written multiple books.

4. Each book has only one publisher, but a publisher may publish many books.

Step 6: Determine and specify the data types

a. Using the information below, select the data type for each attribute (field) in your diagram, and set the type in the attribute properties. (Refer to the Week

2 Lab if you are not sure how to do this. Where allowed, estimate the field length needed.)

As the data types and field lengths are not included in the data requirements, you should make a selection based on your knowledge of the type of data and approximation of length required. The Visio and Access data type equivalents are shown below:

Step 7: Modify the Visio Settings to show the Data type and field size in the diagram.

a. Change your Visio settings so that these appear on the actual diagram. To do this, go to the Database ribbon, Display Options. In the Display Options dialog box, select the Table tab. You will then change the data types to Show Physical. Click the OK button to apply the new setting. They data types will then appear in your diagram. Note that you may need to move the entities so that they are easily viewed as they are now larger.

b. Be sure to save the final version of your file.

Part B: Create the Access Database from the ERD Preparation

Open the Visio file created in Part A of this lab, you will reference this file in Part B.

Step 1: Start MS Access and Open a New Blank Database.

a. Create a new Blank Database; refer to the Week 2 Lab for more detailed instructions.

b. Save the database as YourNameLab3.

c. Note: If you are unsure how to complete any steps in this iLab, refer to the previous week's iLabs.

Step 2: Create the Tables

a. Based on the Visio diagram from Part A, create the tables for your database.

b. Enter the field names and the data type.

c. Designate the primary keys for each table

d. Set the attribute properties as needed for

a. Field length

b. Required

Step 3: Create the relationships

a. Open the database relationships window.

b. Based on the Visio diagram from Part A, create the relationships for your database.

c. Be sure to enforce referential integrity for each relationship.

Reference no: EM13840890

Questions Cloud

Companys internal and external challenges : Conduct a SWOT Analysis on the case study company's internal and external challenges - Create a case study analysis focusing on the company's internal and external challenges through the development of short-term objectives.
Proper adjusting journal entry : Required: Show the proper adjusting journal entry at December 31, Year 4, the end of Eugene's fiscal year.
Career advancement in financial management? : career advancement in financial management?
Identify the products that your firm has available : First, identify the products that your firm has available. Second, locate market data on your assigned country, analyze the data, and identify a need or want that can be satisfied by one of your firm's products
Create database model using ms visio database model diagram : You have been asked to create a database model using MS Visio Database Model Diagram Template. The purpose of this lab is to provide experience designing, with limited instructions, a simple database based on a list of data requirements and associ..
Discuss the importance of achieving congruence : Critically discuss the importance of achieving congruence between an organisation's structure and HRM practices.
Perform exploratory data analysis on the relevant variables : Perform exploratory data analysis on the relevant variables
Describe the variables and their scale of measurement : Describe the variables and their scale of measurement
Demonstrate application of accounting concepts : Objectives:  Demonstrate application of Accounting Concepts pertaining to a service company including the following:

Reviews

Write a Review

Database Management System Questions & Answers

  An art museum that needs to track the artwork artists and

write a 750- to 1050-word paper in which you complete the followingmiddot choose a database environment from the

  Concept of schema

a) Given a particular blog post, what are all of the comments associated with it?yes b) What are the blog posts for a particular user?

  Organization''s database

Submit a security plan to secure the organization's database. The security plan will be submitted to the CIO. The organization has many concerns about unauthorized access, since there have been reports that some confidential information has been a..

  Create an access database that keeping track of employees

Create an Access database called EMPLOYEES that will aid you in keeping track of your employees. You can decide field names but be sure to include at least eight fields, including one called TOTALPAY.

  Write a memorandum to sam jones

Write a memorandum to Sam Jones (CIO) and present your research findings. Your memorandum should be no longer than 500 words.

  Executing well-planned strategy-manage technology solution

You have a company, specializing in managing technology solutions. you have ben just hired by big firm to execute a well-planned strategy.

  Data dictionary serves as important data management tool

The data dictionary serves as an important data management tool by? assigning attributes to the data, maintaining data in updated form.

  The order in which the tables in your queries are joined

the order in which the tables in your queries are joined can have an effect on the query performs. if your query is

  Programming with sql using number and date fun

Programming with SQL Objectives: Using Character, Number and Date Functions. • Create and execute single-row functions that perform case conversion and/or character manipulation. • Create and execute single-row number functions ROUND and TRUNC. •..

  Relationship of primis to back-end systems at mcgraw-hill

Assess whether the prototyping would have helped the Primis team. Justify why or why not. Conclude why it was important to consider the relationship of Primis to back-end systems at McGraw-Hill

  Problemconsider the following schema of ra b c d with

problemconsider the following schema of ra b c d with functional dependenciesa -gt b b-gt c and b-gtd1- compute the

  Select suitable statistical measure to compare consistency

Select an appropriate statistical measure to compare consistency of sales. Make the calculations and write a report. In your calculations, include the mean sales for each salesperson.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd