Тёмный

Microsoft Access: Enforcing referential integrity, the cascade options, and orphan records 

Lisa Friedrichsen
Подписаться 5 тыс.
Просмотров 578
50% 1

In this short screencast we'll examine why we enforce referential integrity on one-to-many relationships, and why it doesn't always mean that no orphan records exist. We'll explain how and why to use the Cascade Update Related Fields option as well as the Cascade Delete Related Records option.
We'll discuss why enforcing referential integrity prevents the creation of NEW orphan records by not allowing you to delete a record in the "one" table that has matching records in the "many" table.
We'll also discuss why enforcing referential integrity prevents the creation of NEW orphan records by not allowing you to enter bogus values in the foreign key field of the "many" table.
Finally, we'll discuss how enforcing referential integrity does not always mean that there are no orphan records given a null (nothing) value in the foreign key field can exist when referential integrity is applied to a relationship.

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Living life on the edge 😳 #wrc
00:17
Просмотров 6 млн
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 2,3 млн
НЕ БУДИТЕ КОТЯТ#cat
00:21
Просмотров 844 тыс.
Пчёлы некроманты.
00:46
Просмотров 19 тыс.
UUID vs INT: What’s Better For Your Primary Key?
9:40
3 Essential Excel skills for the data analyst
18:02
Просмотров 1,5 млн
Living life on the edge 😳 #wrc
00:17
Просмотров 6 млн