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 |
Can you access a repository created in previous version of Informatica?
How the informatica server increases the session performance through partitioning the source?
In informatica workflow manager, how many repositories can be created?
Under what condition selecting sorted input in aggregator may fail the session?
how can we load starting with 11th record of a table from source to target
What are the differences between a connected lookup and unconnected lookup?
what are the types of facts with Examples?
Why we require dwh in particular projects?
Converting Rows to columns I have Relational source like his. JAN FEB MAR APR 100 200 300 400 500 600 700 800 900 100 200 300 I need to convert these rows into columns to the targe. MONTH TOTAL JAN 1500 FEB 900 MAR 1200 APR 1500 Please experts help me
How to join a Flat and Relational Source without using (Joiner, Update and Lookup ) transformations... is it possible? if yes i would like to know how?
Lookup transformation, one condition is having SQL override (Empno < 10) and the other condition is Lookup (Sal>1000), which is dynamic. How will u resolve this situation?
when we create source as oracle and target as flat file, how can i specify first row as column in flat file?