You are on page 1of 22

CHAPTER

4:
DATABASE
Database
Storage of data.
A structured set of data held
in a computer,especially one
that is accessible in various
ways.
Collection of Tables.
Data are organized into records that are
stored in tables.
Microsoft Access is a database managem
system that is part of the Microsoft Offi
Suite.
he extension name of a Microsoft Acces
database file is .mbd in older versions a
.accdb starting in Microsoft Access 200
Examples:
1.Student record
2.Phonebook record
3.Inventory record
A.Record
-Record consist of related
pieces of data called
attributes or data fields,an
example of it is Last name,
first name and Gender.
B.Table
-A table is a collection of
records, it is made up in a
rows and columns the rows in
the table corresponds to
record and columns represent
data field .
C.Primary Key
-it identifies your records and
it is a unique data that
identifies each record in a
table.
Foreign Key
dditional details are needed to descr
e sections in the table.
FIELD TYPES
o Text-A text field can hold up
to 255 characters.The
content may be a
combination of alphabetic,
numeric on special
characters.
o Memo-A text field that
can hold up to 65,536
characters.
o Number-A number field can
hold numeric values that can
be used for calculations.
Byte-stores whole numbers from 0 to
5.
Integer-stores whole numbers from
-32,768 to 32,767.
Long Integer-stores whole numbers
from -2,147,483,648 to
Decimal-stores decimal from
-10^28-1 to 10^28-1.
Single-stores decimal numbers
from
-1.79769313486231E308 to
-4.94065645841247E-324 for
negative values & from
1.79769313486231E308 to
o Autonumber- An
autonumber field generates
a number automatically. It
is usually used to create a
record number to newly
added records.
o Currency-Currency fields
prevent values from being
rounded off. It is accurate
up to 15 digits to the left of
the decimal point and up to
4 to the right.
o Yes/No-It stores a
single value of either
Yes or No (or True or
False, or On or Off)
oDate/Time-It
stores date and
time values.
MICROSOFT ACCESS
-It is a database management
system that is part of Microsoft
Office Site.The database that you
will create will consist of a table.
Each tables is composed of
fields,and each fields will have its
specific data type.The data type
determines what kind of data may
THE END

You might also like