What Is Data Integrity
What Is Data Integrity
ProgrammingAdivces.com MBA, PMOC, PgMP®, PMP®, PMI-RMP®, CM, ITILF, MCPD, MCSD
26+ years of experience
Copyright© 2023 Mohammed Abu-Hadhoud
ProgrammingAdivces.com MBA, PMOC, PgMP®, PMP®, PMI-RMP®, CM, ITILF, MCPD, MCSD
26+ years of experience
What is Data
Integrity?
Primary Key
Employees Table
ID FirstName LastName Gender Birthdate Salary DepartmentID
Primary Key
1 U@s#5#Z|9E Abu‐Hadhoud M 6/11/1977 ‐400 1
1 IT Amman
5 Fadi Khalil M 6/6/1980 1400 4
2 Finance Amman
6 Maha Majed M 7/7/2001 300 3
3 HR UAE
7 Omar Ali M 6/6/1977 2000 1
4 Marketing Qatar
8 Huda Omar F 4/2/1990 1000 5
Foreign Key
• There are several factors that can impact data integrity, including human
error, hardware or software failure, security breaches, and data transfer
errors.
1. Entity integrity: This ensures that each row or record in a table is unique and
can be uniquely identified. This is typically achieved through the use of
primary keys.
3. Domain integrity: This ensures that data is within acceptable ranges or values.
For example, a date field should only contain valid dates, and a numeric field
should only contain valid numbers.