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

Rules and Guidelines for Table Joins

Rules and Guidelines for Table Joins

Certain rules and guidelines apply when you create a table join in a table pair.
Use the following rules and guidelines when you create a table join:
  • Join tables if you want to run a VALUE or an OUTER_VALUE test. Data Validation Option ignores joins for all set and aggregate tests.
  • The fields included in a join condition must have compatible datatypes, precisions, and scales. For example, you can join an INT field to a DECIMAL field, but not to a DATETIME or VARCHAR field.
  • Data Validation Option supports joins on fields with the following datatypes: datetime, numeric, and string. Joins are not allowed on binary/other datatypes.
  • Data Validation Option joins tables in a table pair based on an inner equijoin by default.
  • For an XML data source, only child elements of the selected XML group appear as possible join fields.
  • You can create multiple join conditions in a table join for a joined table pair.
  • If you specify a file list connection and the fields in the join condition are not unique among all files in the file list, the join fails.