Data Management System An Introduction to Database Technology

Data Management System An Introduction to Database Technology

Objectives �Discuss the terms character, field, record, and file. �Differentiate between a file processing system approach and the database approach

How are data and information related? �Data is raw facts �Information is data that is organized and meaningful �Computers process data into information

What is a database? Collection of data organized so you can access, retrieve, and use it Database software also called database management system (DBMS) Database software allows you to Create database Add, change, and delete data Sort and retrieve data Create forms and reports

The Hierarchy of Data What is a hierarchy? Ø Database contains files, file contains records, record contains fields, field contains characters


The Hierarchy of Data What is a field? Ø Combination of one or more characters Ø Smallest unit of data user accesses § § § Field size defines the maximum number of characters a field can contain Field name uniquely identifies each field Data type specifies kind of data field contains

The Hierarchy of Data What are common data types? Text (also called Numeric numbers alphanumeric)— only letters, numbers, or special characters Currency dollar and cent amounts or numbers containing decimal values Yes/No (also called Boolean) —only the values Yes or No (or True or False) Date month, day, year, and sometimes time Hyperlink Web address that links to document or Web page Auto. Number unique number automatically assigned to e ach new record Memo lengthy text entries Object (also called BLOB for binary large object)—photograph, audio, video, or document created in other application such as word processing or spreadsheet

Maintaining Data What is file maintenance? Ø Procedures that keep data accurate. Adding records Deleting records Changing records

Why do you add records? Ø Add new record when you obtain new data Why do you change records? Ø Ø Correct inaccurate data Update old data Why do you delete records? Ø Ø When record no longer is needed Some programs remove record immediately, others flag record

What are the types of validity checks? Check Digit number(s) or character(s) appended to or inserted into a primary key value to confirm accuracy of primary key value Alphabetic/ Numeric Check ensures correct type of data entered Completeness Check verifies that a required field contains data Range Check determines whether number is within specified range

Database Management Systems What is a data dictionary? Ø Contains data about each file in database and each field within those files
- Slides: 12