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

Test Conditions

Test Conditions

A test condition filters the records processed by a test in a single table or table pair. To increase the performance of a particular test defined for a single table or table pair, add a test condition.
For example, you want to exclude telephone extension numbers from a VALUE test for a table pair. You want to exclude telephone extension numbers that contain fewer than three characters.
Create the VALUE test based on the following criteria:
  • Table A.EXT = Table B.EXT
  • Condition A = LENGTH(EXT)<3
  • Condition B = LENGTH(EXT)<3
Add a test condition instead of a WHERE clause when you want to apply the filter on a particular test. If you enter a test condition and WHERE clause in a single table or table pair, Data Validation Option applies the WHERE clause to all tests before it applies the test condition.
If you create a test condition and WHERE clause on a joined table pair, Data Validation Option applies the WHERE clause before it joins the tables. Data Validation Option applies the test condition after it joins the tables.