Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Aggregator transformation
  6. Expression transformation
  7. Filter transformation
  8. Input transformation
  9. Joiner transformation
  10. Lookup transformation
  11. Mapplet transformation
  12. Normalizer transformation
  13. Output transformation
  14. Rank transformation
  15. Router transformation
  16. Sequence transformation
  17. Sorter transformation
  18. SQL transformation
  19. Union transformation

Transformations

Transformations

Rules and guidelines for query processing

Rules and guidelines for query processing

Use the following rules and guidelines when you configure the SQL transformation to process a query:
  • The number and the order of the output fields must match the number and order of the fields in the query SELECT clause.
  • The native data type of an output field in the transformation must match the data type of the corresponding column in the database.
    Data Integration
    generates a row error when the data types do not match.
  • When the SQL query contains an INSERT, UPDATE, or DELETE clause, the transformation returns data to the SQLError field, the pass-through fields, and the NumRowsAffected field when it is enabled. If you add output fields, the fields receive NULL data values.
  • When the SQL query contains a SELECT statement and the transformation has a pass-through field, the transformation returns data to the pass-through field whether or not the query returns database data. The SQL transformation returns a row with NULL data in the output fields.
  • Field names in the SQL query can't include question mark (?) or tilde (~) characters. These characters are reserved for parameter binding and string substitution, respectively.
  • When the number of output fields is more than the number of columns in the SELECT clause, the extra fields receive a NULL value.
  • When the number of output fields is less than the number of columns in the SELECT clause,
    Data Integration
    generates a row error.
  • You can use string substitution instead of parameter binding in a query. However, the input fields must be string data types.

0 COMMENTS

We’d like to hear from you!