Table of Contents

Search

  1. Preface
  2. Data integration tasks
  3. Mapping tasks
  4. Dynamic mapping tasks
  5. Synchronization tasks
  6. Data transfer tasks
  7. Replication tasks
  8. Masking tasks
  9. Masking rules
  10. PowerCenter tasks

Tasks

Tasks

Custom queries

Custom queries

Create a custom query when you want to use a database source that you can't configure with a single object and lookup source. You might create a custom query to join multiple source tables.
To use a custom query as a source, select
Query
as the source type and then click
Select
. When you define the query, use SQL that is valid for the source database. You can use database-specific functions in the query.
When you create a custom query, enter an SQL SELECT statement to select the source columns you want to use.
Data Integration
uses the SQL statement to retrieve source column information.
Data Integration
ensures that custom query column names are unique. If an SQL statement returns a duplicate column name,
Data Integration
adds a number to the duplicate column name as follows:
<column_name><number>
Test the SQL statement you want to use on the source database before you create a custom query.
Data Integration
doesn't display specific error messages for invalid SQL statements.

0 COMMENTS

We’d like to hear from you!