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...


if we hav 10 records in a file, can we get first record from
it by using Aggregator with out using Groupby Port in it?If
Yes..let me know the answer plz!!!

Answers were Sorted based on User's Feedback



if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / jhilam roy

Sorry guys...correction...If you do not select any group by
port in an Aggregator transformation and also want the first
record of any input record set, then, simply use the FIRST
function with no group by ports selected. Because, if there
is no group by ports selected, by default, FIRST treats all
rows as one group, returning one value. However, make sure
that the first record is not NULL. If a value is NULL, FIRST
ignores the row.

Is This Answer Correct ?    26 Yes 2 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / jayesh

Dont use group by.By default it will give last row.To
override it,use FIRST function.

Is This Answer Correct ?    9 Yes 0 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / jhilam roy

Simple answer: NO, provided, only the Aggregator
transformation is used.
In an Aggregator transformation, if no port is selected as
Group By, then by default, the PowerCenter Sever returns the
very last row of the input record set, definitely not the
first one.
It scans sequentially starting from the first port of the
input set and continues till the last port is hit. If it
fails to find any port designated as Group By, the default
nature is to return the last record of the input record set
to the downstream transformation or target.

Any updation is appreciated.

Jhilam

Is This Answer Correct ?    7 Yes 5 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / naresh

I have column like col1,col2,col3 i am using first function
in col2 it work only that col2 i want first record means
col1,col2,col3 all first values How to get Please give me
solution.

Is This Answer Correct ?    1 Yes 0 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / janardhan

Hi Guys, I need sql query for the above functionality.
I mean sql query to get last record from 10 records same like aggregator transformation in informatica which gives last record if we don't give any group by.

Is This Answer Correct ?    0 Yes 0 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / bala

@abhinav...
How can you sort records by using rownum...its not possible

Is This Answer Correct ?    1 Yes 2 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / venkat

Yes, we can get first record using aggregator below are the
steps:
First need to sort all the records by desc and connect to
aggregator transformation than connect to target without
using gropby port than you will get first record.

Ask me any questions to <ittoolboxdwh@gmail.com> this is my
mailid.

Cheers
Venkat.

Is This Answer Correct ?    6 Yes 9 No

if we hav 10 records in a file, can we get first record from it by using Aggregator with out using ..

Answer / abhinav

hey I am having one answer regarding the same.may be it
will work.

SQ (sql override)(select * from emp1 order by rownum desc)--
>aggregator-->target

thanks
Abhinav

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Informatica Interview Questions

whats the logic to load the lower level of granularity of data to fact table.

0 Answers   IBM,


What is power play plug in?

2 Answers  


How do you change parameter when you move it from development to production.

1 Answers  


Define mapplet?

0 Answers  


draw informatica architecture 8.6 ?

0 Answers   Cognizant, TCS,


Q. Informatica workflow, it is running beyond two hours for last couple of runs, normally it completed less then 30 min., hardly 40 min, last couple of run crossing 2 hours and more in that workflow only one session. now it is aasign to you that how to idenitfy the performance issue of the sesion of production.

0 Answers  


I have some rows in source.I have to map half rows to one target and half rows to another target.i.e you wont know how many records in source.?Implement a mapping?

1 Answers   Franklin Templeton,


what is mapping parameter and mapping variables

1 Answers   BirlaSoft,


i have a source table ID NAME SAL 101 A 1000 102 B 2000 103 C 1500 target load should be ID NAME SAL 101 A 1000 101 B 2000 101 C 1500 102 A 1000 102 B 2000 102 C 1500 103 A 1000 103 B 2000 103 C 1500

3 Answers   TCS,


i have a table like empid ename year month sal 1 x 98 jan 500 1 x 98 feb 500 1 x 98 mar 500 1 x 99 jan 600 1 x 99 feb 600 2 y 98 jan 600 2 y 98 feb 600 2 y 98 mar 600 2 y 99 jan 700 2 y 99 jan 700 and so on i want to find out totsal for every emp on year wise plz help me

4 Answers   Magna Infotech,


What are the two modes of datamovement in informatica sever?

2 Answers  


Hi, source data is col1 values are 5,6,7 col2 are 3,2,1 col3 are 8,9,10 and i want to get target as col1 5,6,7 col2 1,2,3 col3 8,9,10 how to do this one?

6 Answers  


Categories