Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Data Subset
  8. Data Masking
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Data Sets
  13. Plans and Workflows
  14. Monitor
  15. Reports
  16. ilmcmd
  17. tdwcmd
  18. tdwquery
  19. Data Type Reference
  20. Data Type Reference for Test Data Warehouse
  21. Data Type Reference for Hadoop
  22. Glossary

Running tdwquery

Running tdwquery

Run tdwquery from the command line. On Windows, tdwquery is a batch file with a .bat extension. On UNIX, tdwquery is a shell script with no extension.
You must configure the tdwquery properties file before you run a query.
  1. At the command line, switch to the directory where the tdwquery executable is located.
    By default, tdwquery is installed in the following directory:
    <Informatica installation directory>/TDM/utilities/tdwquery
    .
  2. To run a query:
    • On Windows, enter tdwquery followed by the clause and the required syntax.
      For example:
      tdwquery "SELECT * FROM td_empdetails"
      You can also prefix the schema name to the clause. For example:
      tdwquery "SELECT * FROM AA.td_empdetails"
    • On UNIX, enter ./ tdwquery followed by the clause and the required syntax.
      For example:
      ./tdwquery "SELECT * FROM td_empdetails"
      You can also prefix the schema name to the clause. For example:
      ./tdwquery "SELECT * FROM AA.td_empdetails"