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

Rules and Guidelines for WHERE Clauses in a Table Pair

Rules and Guidelines for WHERE Clauses in a Table Pair

Certain rules and guidelines apply when you add a WHERE clause to a table pair.
Use the following rules and guidelines when you add a WHERE clause:
  • You can configure a WHERE clause for each table or file in a table pair. If you configure a WHERE clause such that one table in a table pair has signicantly more rows than the other, the OUTER_VALUE and aggregate tests are affected. You can use different WHERE clauses in a table pair to equalize data sets. For example, you can add a WHERE clause on a production environment table has three years of data when the development environment table only has two weeks.
  • Because the filter condition you enter in the WHERE clause applies to all tests in the table pair, Data Validation Option applies the WHERE clause before it joins the tables. This can improve performance when the WHERE clause filters a large percentage of rows from the source table because the PowerCenter Integration Service processes fewer rows later in the mapping. If you want to enter a condition that filters a small percentage of rows, or you want to apply different filters for different tests, you can enter a filter condition in the Table Pair Test Editor dialog box.
  • For an XML data source, you can include only child elements of the selected XML group in the WHERE clause.

0 COMMENTS

We’d like to hear from you!