Operate Database Application Power Ponit
Operate Database Application Power Ponit
Operate Database Application Power Ponit
Data Types
• Text: allows for the storage of any kind of data, characters, digits and
special characters. It has a defect length of 50 characters with a
maximum length of 255.
• Memo: is used for texts of more than 255 characters such as
comments or explanations. It has a maximum length of 65.536
characters.
• Number: for numerical data used in mathematical calculations
• Date/time: for the introduction of date and time from the year 100 to
9999.
• Auto number: a unique sequential number (increasing one by one), or
an aleatory number that access assigns every time it adds a new record to
a table. Auto number fields cannot be updated.
• Yes/no: yes and no values, and fields that contain one of two values
(yes/no, true/false or acivated/disactivated).
• Currency: Monetary values.
• OLE Object: an object such as a Microsoft Excel spreadsheet, a
Microsoft Word document, graphics, images, sounds, or other binaries.
• Hyperlink: text or a combination of text and numbers stored as text and
used as a hyperlink address. A hyperlink is a text or graphic that you
click to go to a file, a location in a file, a web page on the internet, or a
web page on an intranet.
Tables may be created by either:
Table wizard
Design view
• Primary key is the unique identification of one record. It will
not allow a duplication of the primary key thus make it unique.
• Foreign key is a key used to link two tables together.
• A foreign key is a field (or collection of fields) in one table
that refers to the PRIMARY KEY in another table.
•
• There are 3 types of relationships in database design.
1. ONE-TO-ONE
2. ONE-TO-MANY (OR MANY-TO-ONE)
3. MANY-TO-MANY
1. ONE-TO-ONE
• A row in table A can have only one matching row in table B, and vice
versa.