SESSION-16 - Source Qualifier Transformation
SESSION-16 - Source Qualifier Transformation
•
Source Qualifier Transformation
(Active & Connected)
Source Qualifier Properties
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