I want load the data into target with out 1st and last record.
Answers were Sorted based on User's Feedback
Answer / sree
u can override the query in SQt/r
select * from emp where rowid not in ((select min(rowid)
from emp),(select max(rowid) from emp))
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / sravanthi
In source qualifier Transformation we can write the
following query.....
select rownum,x.* from (select rownum rn,e.* from emp e ) x
where rn>1 and rn<(select count(*) from emp)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / babu
Hi A.C Sekhar,
If u r source is flat file,u should take seq/tr and agg/tr
in that take first function and last function after that
take a filter/tr filter condition is seqno !=fno or seqno!
=lno.
MAPPING;
SEQ-->SEQ-->AGG-->FLT-->TRG
PORTS;
NEXTVALUE -->SNO (SEQTR-->AGG)
IN AGG/TR
1.FNO=FIRST(SNO) OUTPUT PORT.
2.LNO=LAST(SNO) OUTPUT PORT.
IF ANY THING WRONG,PLEASE LET CORRECT ME.
THANKS,
BABU.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / santosh kumar sarangi
Hi Babu,
Can you please tell me, which port need to take as group by
port in the aggregator t/r. if you not take any group by
port then by default it is forward only last port.
Thanks & Regards
Santosh
| Is This Answer Correct ? | 0 Yes | 0 No |
how to join the 2 different table with different columns in informatica?
What is the use of an aggregator cache file?
can we use lookup t/r in flat files?what are the t/r's can be used in flat files when compared to relational DB?
i have 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: pls full details
8 Answers L&T, TCS, UnitedHealth Group, Wipro,
My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?
major difference between normal loading and bulk loading?
What are the differences between oltp and olap?
Enlist the various types of transformations.
Hi Everybody, I have one fixed width file as source and 4 oracle tables (relational) as target. What are the Unit test cases i need to implement ? 1.Using TextPad software i tested postion of the field 2.As per specification i tested like whether it is correctly mapped or not? Is there any other test case do i need to implement. If possible can any one give me the test cases Advance Thanks
i have 50500 records in my source.if wf run for the first time it will load 1000 records into 1 tgt,if runs second time it will load to another tgt.targets are FF and it is need to be created dynamically.how many tgt will be created and how?
whatis the default data driven operation in informatica
Hi, In Router transformation I created two groups . One is Passthrough=> True Second one is CorrectId’s => Invest>50000 Here I have one doubt. Can’t I treat default group as Passthrough group (fist group) . Is there any difference between default group and Passthrough group in this scenario? Let me know if you want more information about this scenario. Advance thanks.