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

Test, Operator, and Datatypes Matrix for Single-Table Constraints

Test, Operator, and Datatypes Matrix for Single-Table Constraints

Single-table constraints use the following datatypes:
  • String
  • Numeric
  • Date/time
  • Binary/other
The following table describes the operators and datatypes for single-table constraint tests:
Test
Operators Allowed
Datatypes Allowed
Result Expression Datatype
COUNT
All
string, numeric, date/time, binary/other
numeric
COUNT_DISTINCT
All
string, numeric, date/time
numeric
COUNT_ROWS
All
string, numeric, date/time, binary/other
numeric
MIN
All
string, numeric, date/time
numeric
MAX
All
string, numeric, date/time
numeric
AVG
All
numeric
numeric
SUM
All
numeric
numeric
VALUE
All
string, numeric, date/time
string, numeric, date/time
FORMAT
=, <>
string, numeric, date/time
string
UNIQUE
--
string, numeric, date/time
--
NOT_NULL
--
string, numeric, date/time
--
NOT_BLANK
--
string, numeric, date/time
--