Table of Contents

Search

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

Data Validation Option User Guide

Data Validation Option User Guide

Constraint Value

Constraint Value

The constraint value represents a constant value to which you want to compare the field values. For example, you might want to verify that all values in the ORDER_DATE field fall between January 1, 2020 and December 31, 2020. Or, you might want to verify that the minimum ORDER_ID number is greater than 1000.
The constraint value must be a string, numeric, or datetime constant. The datatype of the constraint value depends on the test.
The following table lists the constraint value datatype allowed for each test:
Test
Datatype
COUNT, COUNT_DISTINCT, COUNT_ROWS
Integer
MIN, MAX, SUM, VALUE
Same as the
Field
datatype.
FORMAT
String
AVG
Double
UNIQUE, NOT_NULL, NOT_BLANK
These tests do not use a constraint value.
Enter a constraint value in the
Constraint Value
field. Enter a constant or list of constants separated by commas.
The number of constants you enter as the constraint value depends on the operator you use:
Arithmetic operator such as =, <>, or ~
Enter a single constant.
Between or Not Between operator
Enter two constants separated by a comma.
In or Not In operator
Enter multiple constants separated by commas.
Enclose each string value, datetime value, or format pattern within single quotes. Datetime values must match the PowerCenter standard datetime format of MM/DD/YYYY HH24:MI:SS.

0 COMMENTS

We’d like to hear from you!