Validating electronis databases to ensure accuracy and integrity of data