Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What does data integrity men?

0
Posted

What does data integrity men?

0

Data integrity implies that a row in one table should not be deleted until all referencing rows that use its key are also deleted. Classic example customer table and order table where the order table contains the id from the customer table. If you delete the row from the customer table then any orders with that ID are left “hanging”. You cannot determine who ordered them and who to charge the order to or who to ship it to. So, if you setup integrity between the two then the orders must be deleted before the customer is deleted.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123