0% found this document useful (0 votes)
11 views7 pages

SESSION-16 - Source Qualifier Transformation

Uploaded by

sai Charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views7 pages

SESSION-16 - Source Qualifier Transformation

Uploaded by

sai Charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

INFORMATICA

• SOURCE QUALIFER TRANSFORMATION Cont…


• JOINER TRANSFORMATION
• MAPPING 11: Complex Business logic using SQ
transformation


Source Qualifier Transformation
(Active & Connected)
Source Qualifier Properties

 User can modify SQL SELECT statement (DB sources)


 Source Qualifier can join homogenous tables
 User can modify WHERE clause
 User can modify join statement
 User can specify ORDER BY (manually or
automatically)
 Pre- and post-SQL can be provided
 SQL properties do not apply to flat file sources
Source Qualifier Transformation

The source qualifier transformation converts the source data types to the
Informatica native data types.
Join data originating from the same source database
 Filter rows when the Integration Service reads source data.
 Specify an outer join rather than the default inner join.
 Specify sorted ports.
 Select only distinct values from the source.
 Create a custom query to issue a special SELECT statement for the
Integration Service to read source data.
Source Qualifier Transformation
Represents the source record set queried by the
Server. Mandatory in Mappings using relational or
flat file sources

Ports
• All input/output

Usage
• Convert datatypes
• For relational sources:
Modify SQL statement
User Defined Join
Source Filter
Sorted ports
Select DISTINCT
Pre/Post SQL
Overriding the Default Query
 if you enter an SQL query, the Integration Service uses only the defined SQL
statement. The SQL Query overrides the User-Defined Join, Source Filter,
Number of Sorted Ports, and Select Distinct settings in the Source Qualifier
transformation.
 When you add a user-defined join, the Source Qualifier transformation
includes the setting in the default SQL query. However, if you modify the
default query after adding a user-defined join, the Integration Service uses
only the query defined in the SQL Query property of the Source Qualifier
transformation.
 If, however, you modify the default query after adding a source filter, the
Integration Service uses only the query defined in the SQL query portion of
the Source Qualifier transformation.
 If you modify the default query after choosing the Number of Sorted Ports,
the Integration Service uses only the query defined in the SQL Query
property.
 if you modify the default query after choosing Select Distinct, the Integration
Service uses only the query defined in the SQL Query property
Pre-SQL and Post-SQL Rules
 Can use any command that is valid for the database
type;
 Use a semi-colon (;) to separate multiple statements

Some use Cases for using Pre and Post SQL


 Pre-sql used for Dropping indexes before loading Data.
 Post-sql used to re-create indexes after loading the
data into Target system..

You might also like