How access maintains referential integrity for tables

Source: Internet
Author: User
Tags reference
In order to eliminate the possibility of redundancy and the integrity of data, access needs to be designed to split a table into multiple tables, maintaining the relationship between tables and tables through referential integrity.
When designing a table, the field referenced by the table referred to is called the primary key, and the field of the table referencing the primary key is called the foreign key of the table. When you design it, you can enter the relationship button on the Access Software toolbar to design a reference relationship between tables and tables:
Enforce referential integrity: that is, qualifying the foreign key must originate from the reference table's primary key, and access does not allow the foreign key to be empty, which SQL Server 2000 allows
Cascading update Related records: is the reference table's primary key updated, foreign key synchronization automatic Update
Cascade Delete Related records: Is the reference table's primary key deleted, foreign key synchronization Delete
Body


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.