Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Need Help Question 7 (4 points) HAPPY INSURANCE Observe the HAPPY INSURANCE DATA

ID: 3708396 • Letter: N

Question

Need Help

Question 7 (4 points) HAPPY INSURANCE Observe the HAPPY INSURANCE DATABASE: CLIENT ClientiD ClientName ClientAgent ClientSpouseName C111 Tom A1 Jenny C222 Karin A1 Bilf C333 Cole A2 Amy C444 Dorothy A2 C555 Andy A3 Amy C666 Tina A3 Matt C777 Christina A4 Mike AGENT AgentiD AgentName AgentArea AgentRating AgentYearOfHire SupervisedBy A1 Kate 1 101 1990 A2 Amy 2 92 2009 A1 A3 Luke 3 100 1992 A4 James 3 90 2010 A3 AREA ArealD AreaNameAreaHQ 1 East Boston 2 West San Francisco 3 Central Chicago This database will be used for the following question citing tables from the HAPPY INSURANCE database. If a DBMS enforces an UPDATE RESTRICT option on the referential integrity constraint between CLIENT and AGENT in the HAPPY INSURANCE database, what will be the outcome after a user tries to change the AgentID value in the last record to A5? Value A4 appears once in column AgentID in AGENT, and value A4 appears once in column ClientAgent in table CLIENT Value A5 appears once in column AgentID in AGENT, and value A5 appears once in column ClientAgent in table CLIENT Value A5 appears once in column AgentID in AGENT, and value A5 does not appear in column ClientAgent in table CLIENT Value A5 does not appear in column AgentID in AGENT, and value A5appears once in column ClientAgent in table CLIENT

Explanation / Answer

When a PrimaryKey is updated, as in number three above, a Cascading Update would cause all referencing ForeignKeys to be updated to the new PrimaryKey value.Cascading updates (of primary keys) and deletes can be implemented by using either triggers or stored procedures. Cascading updates and deletes provide an alternative to merely restricting the occurrence of the last two actions above.

Value A5 appears once in column AgentID in AGENT, and value A5 appears once in column ClientAgent in table CLIENT

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote