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 WHERE Clause Processing

Rules and Guidelines for WHERE Clause Processing

You can configure a relational, Salesforce, SAP, or SAS data source to process the WHERE clause.
Consider the following rules and guidelines if the data source processes the WHERE clause:
  • If a relational data source processes the WHERE clause, the WHERE clause must be a valid SQL statement. If the SQL statement is not valid, a run-time error occurs.
  • If a relational data source processes the WHERE clause, you can enter a nested SQL WHERE clause. For example, to apply a filter based on employees who have disciplinary issues, use the following WHERE clause:
    emp_id IN (SELECT DISTINCT emp_id FROM table_discipline)
  • If a Salesforce data source processes the WHERE clause, the WHERE clause must be a valid SOQL filter condition.
  • If an SAP data source processes the WHERE clause, the WHERE clause must be a valid SAP filter condition.
  • If a SAS data source processes the WHERE clause, the WHERE clause must be a valid Whereclause Overrule condition.