all powder board and ski oracle 9i workbook chapter 1 jerry post copyright © 2003

16
All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Upload: diana-green

Post on 03-Jan-2016

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

All Powder Board and Ski

Oracle 9i WorkbookChapter 1Jerry PostCopyright © 2003

Page 2: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Inventory

InventorySnowboards

Manufacturer Mfg ID Size Description Graphics List PriceQOH

FreestylePipeStandardExtreme

SkisManufacturer Mfg ID Size Description Graphics List Price

QOHSlalomCross country-skateCross country-trad.TelemarkJumpingFreestyleDownhill/race

Page 3: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Boots and Bindings

Boot-Binding CompatibilityManuf. Mfg. ID Board/Ski Binding/Style Color Price Cost

Size QOH34

35

36

Page 4: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Sales

SalesCustomer Sale DateFirst Name Last Name SalespersonPhone E-Mail DepartmentAddress Shipping AddressCity, State ZIP City, State ZIPMale/Female Ski/BoardAge/Date of Birth Style Skill LevelItem Description New/Used Size Quantity Price Subtotal

Item TotalTaxTotal DueMethod of Payment

Page 5: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Rentals

RentalsCustomer Rental DateFirst Name Last Name Expected ReturnPhone E-MailAddress Shipping AddressCity, State ZIP City, State ZIPMale/Female Ski/BoardAge/Date of Birth Style Skill LevelItem Description Size Fee Return Date Condition Charges

Item TotalTaxTotal Due Added ChargesMethod of Payment Signature

Page 6: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Project Structure

Project Title: Sales System for Boards and SkisCustomer: All Powder Board and Ski ShopPrimary Contact: KatyGoals:Project Description: Primary Forms:Primary Reports:Lead Developer:Estimated Development Time:Estimated Development Cost:Date Prepared:

Page 7: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Project Plan

Define the project and obtain approval.1. Analyze the user needs and identify all forms and reports.2. System Design

a. Determine the tables and relationships needed.b. Create the tables and load basic data.c. Create queries needed for forms and reports.d. Build forms and reports.e. Create transaction elements.f. Define security and access controls.

3. Additional Featuresa. Create data warehouse to analyze data as needed.b. Handle distributed database elements as needed.

4. System Implementationa. Convert and load data.b. Train users.c. Load testing.

5. System review

Page 8: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Feasibility

Assumptions      

Annual discount rate 0.03    

Project life/years 5    

       

Costs   Present Value Subtotal

One-time      

DBMS Software      

Hardware      

Development      

Data entry      

Training      

       

Page 9: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Feasibility-2Ongoing      

Personnel      

Upgrades/annual      

Supplies      

Support      

Maintenance      

       

Benefits      

Cost Savings      

Better inventory control      

Fewer clerks      

       

Strategic      

Increased sales      

Other?      

Net Present Value      

Page 10: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

DBMS Update

Oracle academic initiative http://oai.oracle.com

Oracle technology network http://otn.oracle.com

Oracle documentation—requires OTN http://otn.oracle.com/documentation/content.html

Page 11: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Enterprise Manager

Page 12: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Practice: Create a table

Page 13: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Table Constraints and SQL

CREATE TABLE "POWDER"."CUSTOMER" ( "CUSTOMERID" NUMBER(10) NOT NULL, "LASTNAME" VARCHAR2(25), "FIRSTNAME" VARCHAR2(25), "PHONE" VARCHAR2(20), "ADDRESS" VARCHAR2(50), "CITY" VARCHAR2(35), "STATE" VARCHAR2(20), "ZIPCODE" VARCHAR2(20), CONSTRAINT "PK_CUSTOMER" PRIMARY KEY("CUSTOMERID"))

Page 14: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Practice: Add Data

Page 15: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Practice Design a Simple Form

Tools: Data block wizardLayout wizard

Save the form on the server and Program/Compile module

Page 16: All Powder Board and Ski Oracle 9i Workbook Chapter 1 Jerry Post Copyright © 2003

Practice: Create a Simple Form

Warning: On the server,You must either run full 9iASOr manually:Start OC4J Instance