what is rank and dense rank in informatica with any
examples and give sql query for this both ranks

Answer Posted / balakrishna

for eg: the file contains the records with coulmn
empno sal
100 1000
200(repeated rows) 2000
200 3000
300 4000
400 5000
500 6000
Rank :

select rank() over (partition by empno order by sal) from
emp

the rank function gives output as
1
2
2
4
5
6
Dense Rank
select dense_rank() over (partition by empno order by sal)
from emp

and dense rank gives
1
2
2
3
4
5

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are 3 tech challenges/ common issues you face?

1893


What are roles and groups and benefits of using them?

571


Performance tuning in UNIX for informatica mappings?

2148


r u done any partitions in ur project?

1407


draw informatica architecture 8.6 ?

3472






What do you mean by blocking transformation?

586


How can we improve session performance in aggregator transformation?

678


can we override a native sql query within informatica? How do we do it?

656


How to handle decimal places while importing a flatfile into informatica?

727


How does a rank transform differ from aggregator transform functions max and min?

676


Explain what is informatica metadata and where is it stored?

615


How an expression transformation differs from aggregator transformation?

628


What is meant by lookup transformation?

617


Do you find any difficulty while working with flat files as source and target?

680


What is powercenter on grid?

699