Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


in my source table i want to delete first and last records and
load in between records into target? how can it possible?

Answers were Sorted based on User's Feedback



in my source table i want to delete first and last records and load in between records into target..

Answer / venkatesh

the flow will be like this
sequence generetor
|
source--->sq--->aggrigator---->filter--->target

generate sequence number using the sequence generator
connect it to the aggrigator and the flow from sq.group by
sequence num and create two o/p ports
1)min(seqnumber)
2)max(seqnumber)
in filter write the condition as
seqnumber<>min AND max

connect the required ports to the target

u will get the required o/p

Is This Answer Correct ?    17 Yes 7 No

in my source table i want to delete first and last records and load in between records into target..

Answer / mithilesh kumar rai

AGGREGATER

SQ -> JOINER > EXP >UPDST > TGT

SEQ GEN EXPRESSION

AGGREGATE: DON'T SELECT ANY GROUP BY PORT IT WILL PASS LAST.

EXP:TAKE SEQ BEFORE EXPRESSION

JOINER : JOIN AGGREGATOR AND EXPRESSION BASED ON CONDITION
DUMMY(VALUE=1)=DUMMY(VALUE=1)

EXP: OUTPUT_PORT: IIF(NEXTVAL=1 AND EMPID(EXP)=EMPID(AGGT),1,0)

UPDATE_STRATEGY: IIF(OUTPUT_PORT=1,DD_REJECT,DD_INSERT)

let me know if u r facing any problem(8147922210)

Is This Answer Correct ?    2 Yes 2 No

in my source table i want to delete first and last records and load in between records into target..

Answer / davankumar

In the aggregator t/r we have aggregate functions first and
last.with these we have to calculate.

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More Informatica Interview Questions

In ur current projectu have done any performance tuning of mappings?

1 Answers  


scenario

1 Answers  


What does reusable transformation mean?

0 Answers  


I have a source as flat file and having data like ""TCS"MUMBAI" and i want output like TCS MUMBAI,the length of the data in the rows is variable.how can you fix it?

5 Answers   TCS,


What are batches?

0 Answers  


How many input parameters can exist in an unconnected lookup?

0 Answers  


Can you generate reports in Informatcia?

1 Answers  


What is query panel?

1 Answers  


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

0 Answers   Wipro,


What is rank transformation in informatica

0 Answers   Informatica,


can we see default group,when we use router?if yes how?

2 Answers   L&T,


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

0 Answers  


Categories