Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Data Type Reference
  21. Data Type Reference for Test Data Warehouse
  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"