Question
Which of the following integrity constraints ensures
that every non-null foreign key value must reference an existing primary key value in another table?Solution
Referential integrity enforces a relationship between two tables by ensuring that a foreign key in one table matches a valid primary key in another table. This constraint guarantees that the data is consistent and prevents "orphan" records. For example, in an "Orders" table with a foreign key referencing a "Customers" table, referential integrity ensures that every order must belong to an existing customer. If a foreign key value does not match any primary key value in the referenced table, the database system will reject the operation, ensuring data consistency. Why Other Options Are Incorrect:
- Option A: Entity integrity relates to primary keys, ensuring they are unique and not NULL. It does not address relationships between tables.
- Option C: Domain integrity enforces the validity of data types and permissible values for attributes, such as ensuring an "age" column only contains integers.
- Option D: Key integrity is not a formal term in relational database theory. It may be confused with primary or candidate key constraints but is not relevant here.
- Option E: Tuple integrity is not a standard concept in relational databases, making this option invalid.
The recently launched IDFC FIRST Bank's Ashva Credit Card is crafted from:
Pension Department has recently launched an online portal for government retirees. what is the name of the portal?
Which statutory return RBI prescribes for CRR under section 24 of Banking Regulation Act ?
Which major port recorded an 8% year-on-year growth in cargo volume in 2024-25?
What is the upper limit for limited tendering introduced in DPM 2025?
According to the details provided, how many women are enrolled in the CISF’s first all-women commando course, and what is CISF’s target female repre...
Which bank’s recent (Nov 2024) integration with Swift GPI benefit customers making international money transfers?
Which of the following financial institution recently announced the opening of the first-ever Women-Only Digital Centre (DC) in India?
What is the name of the high efficacy malaria vaccine launched by the Serum Institute of India (SII) and the University of Oxford, and which country was...
Which of the following information is/are TRUE with respect to the changes made by the Reserve Bank of India in relation to the Small Finance Banks ?