Results 1 to 7 of 7

Thread: solution required for a problem in informatica-urgent

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Answers
    4

    solution required for a problem in informatica-urgent

    Hi all,

    Am newbie to informatica.Here is one reqd that is badly neded for me :

    In 'n' number of records ,ie , emplyees with their salaries in one column,we need to get those employees details whose salary is equal to the sum of all the other employees.

    Say,
    -20 employees,ie , 20 records
    -the data should b read from 1st record ..so check 1st record salary = sum of the other 2-19 records salary,if so get the details...
    -this procedeure should continue from 1st ,2nd and so on to 20th record...


    I need the flow of transformations reqd by step-wise procedure.


    If anymore explanation is reqd pls ask.Great help i s needed.

    Thanks,
    D.V


  2. #2
    Junior Member
    Join Date
    Jan 2007
    Answers
    1

    Re: solution required for a problem in informatica-urgent

    use only SQ TRANS and use sql overide property and specify the query which will give the results as per u r requirement.no need of any other transformations.
    i hope this will help you.


  3. #3
    Junior Member
    Join Date
    Aug 2007
    Answers
    4

    Re: solution required for a problem in informatica-urgent

    Thanks saibabu,

    BUt can you pls help me in framing the query...i wil be trying from my side too...as its an urgent requirement i was been forced to ask u even the query...dotn take me otherwise..


    Thanks,
    D.V.VIJAY


  4. #4
    Junior Member
    Join Date
    Aug 2007
    Answers
    4

    Re: solution required for a problem in informatica-urgent

    Hi,

    Pls can anybody help me in this issue?

    Its urgent ...any help is more appreciated!!

    Thanks,
    D.V


  5. #5
    I am the DON
    Join Date
    Apr 2006
    Answers
    99

    Re: solution required for a problem in informatica-urgent

    Quote Originally Posted by venmala View Post
    In 'n' number of records ,ie , emplyees with their salaries in one column,we need to get those employees details whose salary is equal to the sum of all the other employees.

    Say,
    -20 employees,ie , 20 records
    -the data should b read from 1st record ..so check 1st record salary = sum of the other 2-19 records salary,if so get the details...
    -this procedeure should continue from 1st ,2nd and so on to 20th record...
    So, It can be solved by using SQL query easily -

    Select * from EMP A where sal =
    (Select sum(sal) from emp A where A.empid = B.empid)


    If you need any further info - pm me.

    Quote Originally Posted by saibabu
    use only SQ TRANS and use sql overide property and specify the query which will give the results as per u r requirement.no need of any other transformations.
    Then waht is the need of Informatica. You can do it by just writing a SQL query.

    There is other way to do this. Refer once again what here is required?


    Sanghala


    Last edited by sanghala; 08-16-2007 at 05:48 AM.
    Sanghala

    If you are satisfied with my reply. Please click “Thanks” button which increases the reputation and can serve you better.

  6. #6
    Junior Member
    Join Date
    Aug 2007
    Answers
    4

    Re: solution required for a problem in informatica-urgent

    Hi,

    Thanks for the query ... from here i can go up with the transformations.

    But realyy thanks a lot..Am really happy for the exact response i got

    Can i hav ur email id for any further contact and prompt response

    Thanks,
    D.V


  7. #7
    I am the DON
    Join Date
    Apr 2006
    Answers
    99

    Re: solution required for a problem in informatica-urgent

    Quote Originally Posted by venmala View Post
    Thanks for the query ... from here i can go up with the transformations.

    But realyy thanks a lot..Am really happy for the exact response i got

    Can i hav ur email id for any further contact and prompt response
    Yep... But as Saibabu told - I donot know you will get the desired form or not.
    But by using Lookup and Filter/Router you can achieve this.

    Try it and update what output you got....! For Geek reference...

    Sanghala


    Sanghala

    If you are satisfied with my reply. Please click “Thanks” button which increases the reputation and can serve you better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact