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

Where Clause Processing

Where Clause Processing

A WHERE clause filters the records processed by all tests in a single table or table pair. The PowerCenter Integration Service and some data sources can process WHERE clauses.
A relational, Salesforce, SAP, or SAS data source can process the WHERE clause. Configure the data source to process the WHERE clause to reduce the number of rows that the PowerCenter Integration Service reads when it runs a Data Validation Option test. For example, Table A contains information about all U.S. customers. You want to test data for California customers only. In the table pair definition, you enter the WHERE clause
STATE = 'CA'
.
If the PowerCenter Integration Service processes the WHERE clause, the PowerCenter Integration Service reads all U.S. customers, and then applies a filter to the records that were read. If the data source processes the WHERE clause, the data source filters the customer records before the PowerCenter Integration Service reads the records. The test may run faster because the PowerCenter Integration Service reads a subset of the data.