Informatica Interview Questions
Informatica Interview Questions
Source Qualifier 4.Joiner 5.Aggregator 6. Sequence Generator 7.Union 8. Router transformation 9.Normalizer 10. Lookup 11. Update strategy 12.Stored Procedure Transformation 2) How do you remove the duplicates rows from SQL table source when we read the data through source qualifier? Enable distinct in source qualifier properties.
3) How do you remove the duplicates rows from flat file source when we read the data through source qualifier?
We cannot use source qualifier distinct property for flat file source. So we need to place a sorter transformation after source qualifier and enable distinct sorter transformation properties.
4) What is the difference between source qualifier join and joiner transformation?
Source qualifier join can be used when sources are sql tables or views and it cannot be used for hetrogenious sources ( joining for flat file and sql table) whereas joiner transformation can be used to join any type of source data.
7)
8) I have created a sequence Generator with start value of 1000 and the session started the sequence value from 1 instead of 1000. What is the issue here?
If we want to start sequence generator from other than 1 we have to change start value as well as current value in sequence generator propery.
10) What does Master outer and Detail outer join do?
Master Outer Join : Will bring all the rows from detail and matched rows from Master Detail Outer Join : Will bring all the rows from Master and matched rows from Detail
11) How do you change the Master and Detail rows in Joiner if you want to switch the source table between master and detail?
Select or Unselect on any column of source 1 data and source 2 data in Joiner transformation port tab's M column.
15) What transformation would you use to merge two sources data?
UNION transformation can be used to merge two or more sources data.
16) I created a filter transformation and checked the output and found that the filter is not working as expected rather it brings all the data from the source. What is the issue here?
The issue is the filter condition was not given. When we create filter transformation, Informatica will assign TRUE as filter condition
17) How do you filter the rows in Source Qualifier itself without adding another Filter condition?
It can be achieved by adding filter condition in source qualifier properties tab source filter row.But this would work only for database table sources and cannot be used for flat file or XML sources.
18) How do you sort the rows in source Qualifier without adding additional sorter transformation?
We can use Number of sorted inputs property in source qualifier and source will be sorted based on number of columns specified in the property.This will not work for flat file or XML source.
20) How do I use SQL function to transform the data in source qualifier without additional expression transformation?
The SQL functions can be used in SQL select query and place the query in SQL Query property to override the SQL query which will get generate by informatica integration service.This cannot be used for flat file or XML sources.
21) How do you remove the duplicates from source qualifier if the source type is relational table?
Enable select distinct property in Source qualifier.
27) How do I achieve SQL GROUP BY and HAVING CLAUSE functionality in Informatica?. (Example SELECT DEPTID,SUM(SALARY) FROM EMPLOYEE GROUP BY DEPTID HAVING SUM(SALARY) >25000 )
Informatica Aggreagator transformation doesn't provide having clause and this can be achieved by additing another filter condition after aggregator transformation to filter the rows.
Unconnected lookup is isolated with in the mapping and is called with the help of a Expression Transformation. ( :LKP.Lookup_transformation_name (list of inputs separated by ","). We can only use static cache. Will return one column value or port value as output. ( R designated port)
property in session properties.This means that target table insert,update,delete and reject will be flagged by update strategy and not by session.
39) what is tracing level and what are the types of tracing level?
Tracing level determines the amount of information that informatcia server writes in a session log. -- None Integration Service uses the tracing level set in the mapping. -- Terse Integration Service logs initialization information, error messages, and notification of rejected data. -- Normal Integration Service logs initialization and status information, errors encountered, and skipped rows due to transformation row errors. Summarizes session results, but not at the level of individual rows. --Verbose Initialization In addition to normal tracing, the Integration Service logs additional initialization details, names of index and data files used, and detailed transformation statistics. --Verbose Data In addition to verbose initialization tracing, the Integration Service logs each row that passes into the mapping. Also notes where the Integration Service truncates string data to fit the precision of a column and provides detailed transformation statistics. When you configure the tracing level to verbose data, the Integration Service writes row data for all rows in a block when it processes a transformation.
45) In a joiner trasformation, you should specify the source with fewer rows as the master source. Why?
The rows which are marked as Master will be cached and if we select source with fewer rows as master , then the amount of caching would be less.
49) When you import mapping from one server to another server,how will you avoid overriding sequence generator value?
During the import,under global copy options,enable retain sequence generator values check box.