Professional Documents
Culture Documents
Assumptions:
This study source was downloaded by 100000845597213 from CourseHero.com on 04-22-2022 14:14:02 GMT -05:00
https://www.coursehero.com/file/13919522/IT244-Assignment-2/
Patient_Visits (patient_unique_code, dentist_unique_number, date, type, action, fee,
next_appointment_date);
This study source was downloaded by 100000845597213 from CourseHero.com on 04-22-2022 14:14:02 GMT -05:00
https://www.coursehero.com/file/13919522/IT244-Assignment-2/
Q2.
a) Explain the distinction between condition-defined and user-defined constraints. Which of these
constraints can the system check automatically?
Answer: In a condition defined design constraint, membership in the lower level entity-sets is evaluated on the basis of whether
or not an entity satisfies an explicitly stated condition.
In user-defined constraints, membership is not constrained by any condition; instead, entities are assigned to a given entity set by
the database user.
Condition-defined constraints alone can be automatically handled by the system. Whenever any tuple is inserted into the
database, its membership in the various lower level entity-sets can be automatically decided by evaluating the respective
membership conditions. Similarly when a tuple is updated, its membership in the various entity sets can be re-evaluated
automatically.
This study source was downloaded by 100000845597213 from CourseHero.com on 04-22-2022 14:14:02 GMT -05:00
https://www.coursehero.com/file/13919522/IT244-Assignment-2/
Powered by TCPDF (www.tcpdf.org)