Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Creating an SQL Transformation

Creating an SQL Transformation

You can create an SQL transformation in the Transformation Developer or the Mapping Designer.
To create an SQL transformation:
  1. Click Transformation > Create.
  2. Select the SQL transformation.
  3. Enter a name for the transformation.
    The naming convention for an SQL transformation is SQL_TransformationName.
  4. Enter a description for the transformation and click Create.
  5. Configure the SQL transformation mode:
    • Query mode.
      Configure an active transformation that executes dynamic SQL queries.
    • Script mode.
      Configure a passive transformation that executes external SQL scripts.
  6. Configure the database type that the SQL transformation connects to. Choose the database type from the list.
  7. Configure the SQL transformation connection options:
    Option
    Description
    Static Connection
    Use a connection object that you configure for the session. The SQL transformation connects to the database once during a session.
    Dynamic Connection
    Connect to databases depending on connection information you pass to the transformation in a mapping. When you configure a dynamic connection, choose whether the transformation requires a connection object name or the transformation requires all the connection information. Default is connection object.
    Connection Object
    Dynamic connection only. Use a LogicalConnectionObject port to receive the connection object name. Define the connection object in the Workflow Manager connections.
    Full Connection Information
    Dynamic connection only. Use input ports to receive all the connection components.
  8. To configure the SQL transformation to run in passive mode, select SQL Transformation Will Run in Passive Mode.
  9. Click OK to configure the transformation.
    The Designer creates default ports in the transformation based on the options that you choose. You cannot change the configuration except for the database type.
  10. Click the Ports tab to add ports to the transformation. Add pass-through ports after database ports.

0 COMMENTS

We’d like to hear from you!