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

SQL Statement

SQL Statement

Enter an SQL statement to retrieve data for the SQL view.
Because the database runs the SQL statement, you must use valid database syntax when you enter the SQL statement. The number and order of the columns in the SQL statement and column definition list must match. The datatypes of the columns must be compatible.
To avoid errors when you run tests, test the SQL statement in the database before you paste it into the
SQL Statement
field. Data Validation Option does not validate the SQL statement syntax.