You are on page 1of 2

Data Types and Databases

Boolean - Data stored in Boolean form can only be one of two available
values. An example of this is open or closed.
Logical- This can have multiple answers. An example is how are you
today
Alphanumeric This is any combination of letters, numbers, and
symbols. This is sometimes referred to as string/text. For example
#2%k@9
Real- This is any number that has a decimal place in it. For example
2.567483
Integer An integer is a whole number that doesnt have any decimal
places. For example 234561
Date This is can be stored in many different forms, but in the UK we
write it in the form of DD/MM/YY. An example is 7/12/15.
Currency This indicates what country the money comes from. The
computer will automatically add on any or any $ and decimal places
where it is necessary. An example is 24.99
Images Some databases allow you to add any images, sound, or video
clips to be stored on there. For example a photo of a criminal and their
fingerprints on a crime database.

Database Key Words:

File =
Table

Key word

Definition

Field

A single attribute of an
object that is one piece
of data which describes
one item. (The headings
in a table)
A collection of data that
describes one whole
object or thing. ( A row
in a database table)
A collection of related
records, which is also
known as a table. ( The
database table)

Record

File

Field

Record

Primary key / Key fields


Primary Key is needed because it can help identify users with the same
data, and it helps make sure that no data is identical, so that you can tell
every record is different and so that the user is unique. It also means the
data can easily be found using a primary key. However if you need to edit
the record and it gets deleted it cannot be reused.

You might also like