0% found this document useful (0 votes)
24 views3 pages

MS Access 5 - Data Types

Uploaded by

onl mcq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

MS Access 5 - Data Types

Uploaded by

onl mcq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

7/16/24, 10:27 AM MS Access - Data Types

MS Access - Data Types


Every field in a table has properties and these properties define the field's characteristics
and behavior. The most important property for a field is its data type. A field's data type
determines what kind of data it can store. MS Access supports different types of data,
each with a specific purpose.

The data type determines the kind of the values that users can store in any given
field.

Each field can store data consisting of only a single data type.

Here are some of the most common data types you will find used in a typical Microsoft
Access database.

Type of Data Description Size

Text or combinations of text and numbers,


Up to 255
Short Text including numbers that do not require
characters.
calculating (e.g. phone numbers).

Lengthy text or combinations of text and Up to 63, 999


Long Text
numbers. characters.

1, 2, 4, or 8 bytes
Numeric data used in mathematical
Number (16 bytes if set to
calculations.
Replication ID).

Date and time values for the years 100


Date/Time 8 bytes
through 9999.

Currency values and numeric data used in


Currency mathematical calculations involving data 8 bytes
with one to four decimal places.

A unique sequential (incremented by 1)


4 bytes (16 bytes if
number or random number assigned by
AutoNumber set to Replication
Microsoft Access whenever a new record is
ID).
added to a table.

Yes and No values and fields that contain


Yes/No only one of two values (Yes/No, True/False, 1 bit.
or On/Off).

https://www.tutorialspoint.com/ms_access/ms_access_data_types.htm 1/3
7/16/24, 10:27 AM MS Access - Data Types

If you use previous versions of Access, you will notice a difference for two of those
data types.

In Access 2013, we now have two data types — short text and long text. In
previous versions of Access these data types were called text and memo.

The text field is referred to as short text and your memo field is now called long
text.

Here are some of the other more specialized data types, you can choose from in Access.

Data Types Description Size

Files, such as digital photos. Multiple files


can be attached per record. This data type
Attachment Up to about 2 GB.
is not available in earlier versions of
Access.

OLE objects can store pictures, audio,


OLE objects video, or other BLOBs (Binary Large Up to about 2 GB.
Objects)

Up to 8,192 (each
Text or combinations of text and numbers part of a Hyperlink
Hyperlink stored as text and used as a hyperlink data type can
address. contain up to 2048
characters).

The Lookup Wizard entry in the Data Type


column in the Design view is not actually a
data type. When you choose this entry, a
wizard starts to help you define either a
simple or complex lookup field. Dependent on the
Lookup Wizard A simple lookup field uses the contents of data type of the
another table or a value list to validate the lookup field.
contents of a single value per row. A
complex lookup field allows you to store
multiple values of the same data type in
each row.

Calculated You can create an expression that uses You can create an
data from one or more fields. You can expression that
designate different result data types from uses data from one
the expression. or more fields. You
can designate
different result data

https://www.tutorialspoint.com/ms_access/ms_access_data_types.htm 2/3
7/16/24, 10:27 AM MS Access - Data Types

types from the


expression.

These are all the different data types that you can choose from when creating fields in a
Microsoft Access table.

https://www.tutorialspoint.com/ms_access/ms_access_data_types.htm 3/3

You might also like