Home > Topics > Access > body text

Access data types in the database

下次还敢
Release: 2024-04-10 12:20:36
Original
741 people have browsed it

There are 12 data types in the Access database: text types (Text, Memo), numeric types (Byte, Integer, Long Integer, Single, Double), date and time types (Date, Time, DateTime), Boolean type (Boolean), other types (Currency, Autonumber, Hyperlink, OLE Object, Attachment).

Access data types in the database

Data types in Access database

Text data type

  • Text: Stores a text string up to 255 characters long.
  • Memo: Stores long sections of text longer than 255 characters (up to 65,535 characters).

Numeric data type

  • Byte: Stores an integer between 0 and 255.
  • Integer: Stores an integer between -32,768 and 32,767.
  • Long Integer: Stores an integer between -2,147,483,648 and 2,147,483,647.
  • Single: Stores decimals with a precision of 7 significant digits.
  • Double: Stores decimals with a precision of 15 significant digits.

Date and time data types

  • Date: Stores date values ​​ranging from January 1, 100 to December 31, 9999.
  • Time: Stores a time value ranging from 00:00:00 to 23:59:59.
  • DateTime: Stores date and time values ​​in the same range as Date and Time.

Boolean data type

  • Boolean: Stores a True or False value.

Other data types

  • Currency: Stores currency values, including currency symbol and precision.
  • Autonumber: A unique integer sequence automatically generated by Access.
  • Hyperlink: Stores links to websites or files.
  • OLE Object: Stores objects (such as images or documents) that are linked to other programs.
  • Attachment: Stores the file or other binary data associated with the record.

The above is the detailed content of Access data types in the database. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template