Title: Database and Microsoft Access
1Database and Microsoft Access
2Database Hierarchy
3File Organization
- Sequential -- Physical Proximity
- Indexed -- Index File and Data File with key
fields - Direct or Random -- Physical Address from key
using a hashing algorithm
4Sequential File Organization
Record one
Record two
Record three
Record four
etc.
5Indexed Sequential File Organization
Index File
Data File
Key
Address
Physical Location
A
4
B
2
C
1
D
3
E
5
F
G
6Direct or Random File Organization
Data File
Physical Location
Key Value
Hashing Algorithm
(Computer Program)
7Database Organization(Multiple Files)
- Hierarchical -- One parent for each child
- Network -- Each child can have more than one
parent - Relational -- Tables joined on common data items
(rows are records, columns are fields, and tables
are files)
8Hierarchical Database Organization
File One Parent Record
Pointer
Pointer
File Two
Parent Record
Pointer
Pointer
Child Record
Child Record
File Three
Child Record
Child Record
9Network Database Organization
File One
Parent
Parent
Parent
File Two
Child
File Three
Child
Child
10Relational Database Organization
Common Field
Common Field
A
F
F
B
A
Q
D
D
File Two
Joined
File One
11Object-Oriented Databases
12Distributed Database Systems
- Database Is Distributed
- Could be Partitioned, Copied, Replicated, etc.
13Data Warehousing and Mining
- Data Warehouse
- Data Mining
14Data Definition
- Data Definition Language (DDL)
15Data Manipulation
- Data Manipulation Language (DML)
- Precompiler
- Host Languages
16Advantages and Disadvantages of Database
Management
- Advantages
- Better Information
- Faster Response Time
- Lower Operating Costs
- Fewer Storage Requirements
- Better Data Integrity
- Better Data Management
- Disadvantages
- Database Software
- New Hardware
- Training
- Conversion Effort
17Database Management Systems
- Easily create file structures
- Locate specific records quickly
- Easy to maintain
- Calculations performed
- Standard Reports produced
- Ad Hoc Retrieval
18Microsoft Access
- Tables -- Files
- Queries -- Ad Hoc retrieval
- Forms -- Data Entry screens
- Reports -- Standard Reporting
- Pages HTML data entry page
- Macros -- Simple Procedures
- Modules -- Access Basic programming
19Creating Access Tables
- Specify field names, sizes, types of fields, and
key field - Field types Text, Memo, Numbers, Date/Time,
Currency, Counter, HyperLink Yes/No, and OLE
Object
20Access Assignment
- Do Exercise 3, p. 687
- Turn in on due date
21Access Data Entry Forms
- Choose the Forms Tab
- Choose New and Table or Query
- Use the Forms Wizard
22Access Assignment
- Do Exercise 2, pp. 738
- Turn in on due date
23Access Reports
- Choose the Reports Tab
- Choose New
- Choose the Table or Query to use
- Use the Wizard
24Access Queries
- Ad Hoc Retrieval of selected records
- Choose the Query Tab
- Choose New and Table or Query
- Dont use the Wizard!
- Setting Up Table Joins (Relationships)
25Access Assignment
- Do Exercise 2, p. 799
- Turn in on due date
26Access Summary
- Database Management System
- Uses Indexed Sequential File Organization
- Uses Relational Database Organization
- Has Tables, Forms, Queries, Reports, Macros, and
Modules