Sie sind auf Seite 1von 2

1.

Ihave flat file it contains 'n' number of records, i need to send half of the
records to one target table and
Remaining half to another target table. can any tell me procedure.
2.In my sourse i have like ename,gender vasu,male geetha,female ram,male suma.fe
male kesav,male in my output
i need male,female vasu,geetha ram,suma kesav.
3.I have 1200 records how can u send it in aggregator with good performance issu
es?
4.In a mapping i have three dimensions. If i want to pass a same surrogate key v
alue to all the three dimensions
by using one sequence generator is possible?If the mapping is containing singl
e flow? And in the same case if
the mapping is contaning 3 flows for the three dimensions then by using one se
quence generator can we populate
surrogate key (same value) to all the three dimensions?
5.I have n number of records in my source, i want first and last record to my ta
rget. how can u implement this
scenario .
6.i have two tables,table 1 having 2 columns and 3 rows,table2 having 3 columns
and 2 rows.what is the output
if i do left outerjoin,full outer join,right outer join?
7.which transformation should we use to get the 5th rank member from a table in
informatica?can we achieve this
in sql?

* Scenario 1 : Convert single row from source to three rows in target.


* Scenario 2 : Split the non-key columns to separate tables with key colum
n in both.
* Scenario 3 : Separating duplicate and non-duplicate rows to separate tab
les.
* Scenario 4 : Retrieving first and last record from a table/file.
* Scenario 5 : Remove footer from your file.
* Scenario 6 : Remove header from your file.
* Scenario 7 : Sending first half record to target.
* Scenario 8 : Sending second half record to target.
* Scenario 9 : Sending alternate record to target.
* Scenario 10 : Separate the original records in target.
* Scenario 11 : Separate rows on group basis.
* Scenario 12 : Get top 5 records to target without using rank.
* Scenario 13 : Segregating rows on group count basis.
* Scenario 14 : Extracting every nth row.
* Scenario 15 : Sending records to target tables in cyclic order.
* Scenario 16 : Concatenation of duplicate value by comma separation .
* Scenario 17 : Produce target table rows , with each row as sum of all prev
ious rows from source table.
* Scenario 18 : Produce files as target with dynamic names .
* Scenario 19 : Validating all mapping in repository.
* Scenario 20 : Using mapping parameter and variable in mapping.

8. i have one source (database) contains 100 records. and five targets (flat f
iles like f1 to f5)
i want 1st record in to the 1st target, 2nd record to the 2nd target ....
5th into the 5 th target .
again 6th into 1st target so on..
i want the logic.

To do this, you must use an expression, a Sequence Generator and a router.


For Each row, you add a port which will be named Row_Number and you link th
e Next value of Sequence Generator
(Don't forget to activate the reset option in the properties) You add too
another port (result for example)
which is the result of the function Mod(Row_Number,5).After, in the router
, you create five groups
with these conditions :

* Result = 1
* Result = 2
* Result = 3
* Result = 4
* Result = 0

For each group, you link to target, respectively Target 1, Target 2, Tar
get 3, Target 4, Target 5.

Das könnte Ihnen auch gefallen