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

Using a Parameter in a WHERE Clause

Using a Parameter in a WHERE Clause

You can use a parameter in the WHERE clause to dynamically change the WHERE clause after each test run.
  1. Create the parameter file and add the parameters.
  2. Place the parameter file in a location that is accessible by the Data Validation Client or the DVOCmd command line that runs the tests that require the parameters.
  3. If you place the parameter file on a UNIX machine, install DVOCmd on the UNIX machine and verify that DVOCmd has access to the parameter file.
  4. On the Advanced tab of a table pair or single table definition, specify the location and name of the parameter file.
  5. On the Advanced tab of a table pair or single table definition, specify the name, datatype, scale, and precision of each parameter.