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

Spreadsheet Requirements for Single-Table Tests

Spreadsheet Requirements for Single-Table Tests

You can generate tests for a single table based on the test definitions specified in a spreadsheet.
Consider the following requirements for the spreadsheet:
  • Define tests in the first worksheet of an Excel workbook. Data Validation Option reads the first worksheet and ignores other worksheets in an Excel workbook.
  • The Excel file must have a .xls or .xlsx file extension.
  • To define tests for multiple single-table constraints, define tests for each single-table constraint in a separate Excel workbook.
  • You can only define one test per row.
  • You must specify a field name or a field expression for each table in each row of the spreadsheet. If you specify a field name and field expression for the same table in a row, Data Validation Option uses the expression.
  • If you select an operator that is not valid for a particular datatype and you try to import the tests from the spreadsheet, Data Validation Option displays an error.
  • The values in the spreadsheet are case sensitive.