What is the use of Referential Integrity in MS Access?
A. It allow to enter a value in the foreign key field of a child table if that value exist in the primary key of the parent table
B. It does not allow to enter a value in the foreign key field of a child table if that value exist in the primary key of the parent table
C. It allow to enter a value in the Primary key field of a child table if that value exist in the Foreign key of the parent table
D. None of above
Answer: Option B
Solution (By Examveda Team)
In Microsoft Access, Referential Integrity is a database property that enforces the relationship between tables in a relational database. It ensures that the relationships between records in different tables are maintained accurately. The options presented describe the effects of enabling referential integrity between tables:Option A: This option is incorrect. Referential integrity does not allow entering a value in the foreign key field of a child table unless that value exists in the primary key of the parent table. In other words, it enforces the rule that the foreign key value must have a corresponding value in the primary key of the related table.Option B: The correct option. Referential integrity does not allow entering a value in the foreign key field of a child table if that value exists in the primary key of the parent table. This ensures that relationships are maintained accurately and prevents the creation of orphaned records in the child table that do not have a corresponding parent record.Option C: This option is incorrect. The description provided is not accurate. Referential integrity primarily concerns the relationship between a foreign key in a child table and the primary key in a parent table, not the other way around.Option D: None of the provided options accurately represent the effects of referential integrity.Therefore, the correct option is Option B: It does not allow to enter a value in the foreign key field of a child table if that value exists in the primary key of the parent table. This ensures that data integrity is maintained by preventing inconsistent relationships between tables.
Related Questions on MS Access
Press the following keys in Access to Save a database object
A. CTRL+P
B. P or CTRL+P
C. CTRL+S or SHIFT+F12
D. F12
A. Move up one line
B. Move up one page
C. Exit the combo box or list box
D. None of these

Join The Discussion