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 Properties for a Single-Table Constraint

Test Properties for a Single-Table Constraint

You define the test properties when you create a test for a single-table constraint. Some test properties apply to specific tests.
Edit test properties in the
Single Table Test Editor
dialog box when you add or edit a test.
The following table describes the test properties:
Property
Description
Function
The test you run such as COUNT, COUNT_DISTINCT, VALUE, or NOT_NULL.
Field
The field that contains the values you want to test.
Operator
The operator that defines how to compare each value in the field with the constraint value.
Constraint Value
The value or values you want to compare the field values to.
Threshold
The allowable margin of error for an aggregate or value test that uses the approximate operator. You can enter an absolute value or a percentage value.
Max Bad Records
The number of records that can fail comparison for a test to pass. You can enter an absolute value or a percentage value.
Case Insensitive
Ignores case when you run a test on string data.
Trim Trailing Spaces
Ignores trailing spaces when you run a test that on string data. Data Validation Option does not remove the leading spaces in the string data.
Condition
Filter condition for the test. Enter a valid PowerCenter Boolean expression.
Field is Expression
Allows you to enter an expression for the field.
Datatype
The datatype for the expression if the field is an expression.
Precision
The precision for the expression if the field is an expression.
Scale
The scale for the expression if the field is an expression. Maximum value is 99.
Comments
Information about a test. Data Validation Option displays the comments when you view test properties in the Properties area.