Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. New Features and Behavior Changes
  4. Repositories
  5. XML Data Source
  6. Tests for XML Data Sources
  7. Connections
  8. Expressions
  9. Table Pairs
  10. Tests for Table Pairs
  11. Single-Table Constraints
  12. Tests for Single-Table Constraints
  13. Examples of Tests from Spreadsheets
  14. SQL Views
  15. Lookup Views
  16. Join Views
  17. Aggregate Views
  18. Business Intelligence and Reporting Tools Reports
  19. Dashboards
  20. DVOCmd Command Line Program
  21. Troubleshooting
  22. Datatype Reference
  23. Reporting Views
  24. Metadata Import Syntax
  25. Jasper Reports
  26. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

Bad Records for a Table-Pair Test

Bad Records for a Table-Pair Test

Bad records are the records that fail a value or a set test.
When you select a test on the Tests tab, the bad records appear in the
Bad Records
view.
The Bad Records view displays a delimiter before and after each string value to help you identify whitespace in a record of string data type. The Bad Records view displays the difference in value along with the percentage of difference in a record of a numeric data type. Data Validation Option uses the following formula to calculate the percentage of difference:
(<larger value> - <smaller value>) ÷ <larger value> * 100
The columns that appear on the
Bad Records
view differ based on the test.
Aggregate Tests
Aggregate tests do not display bad records. The
Results
view displays the test result value from Field A, the test result value from Field B, and the comparison operator.
Value Tests
Value tests display the following columns for each bad record:
  • The key for Table A
  • The field or expression from Table A being compared
  • The key for Table B
  • The field or expression from Table B being compared
Set Tests
Set tests display the following columns for each bad record:
  • The result from Table A
  • The result from Table B
If you choose to view more details about numerical bad data records, the tests display the following additional columns:
  • Difference
  • % Difference
If you upgrade to Data Validation Option release 9.6.0 from release 9.5.2 or earlier, you must reinstall a test if you want to view more details about bad records for the test.
If you compare two fields where one field has a value and the other is empty, Data Validation option considers the record as a bad record. If the repository is on Oracle, the database stores the empty field as NULL. A bad record with NULL value in an Oracle repository can be either NULL or an empty field.