An example of data integrity is ensuring that a database or dataset is accurate, consistent, and reliable. For instance, if a database contains customer information, data integrity would mean that the information is complete, up-to-date, and without any errors or inconsistencies, such as duplicate or missing records.