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

Answers were Sorted based on User's Feedback



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

Answer / rajashekhar

for eg: the file contains the records with coulmn
100
200(repeated rows)
200
300
400
500
the rank function gives output as
1
2
2
4
5
6
and dense rank gives
1
2
2
3
4
5

Is This Answer Correct ?    32 Yes 4 No

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

Answer / ravikumar2614

Rank creates gaps where as densc Rank will not create gaps(between two ranks).
1st answer is correct

Is This Answer Correct ?    8 Yes 2 No

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

Answer / 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

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

Answer / sunil

dense rank means it is the process of calculating rank for
each group.

deptno rank
10 1
2
3

20 1
2
3

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Informatica Interview Questions

what are the limitations of pushdown optimization technique ? Advance thanks

3 Answers   Puma,


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

0 Answers  


What are the parts of Informatica Server?

1 Answers   Cognizant,


In incremental loading using Mapping variable if session failed with any of reason in the middle of process. is the Mapping variable remains constant or change?

1 Answers   TCS,


In CSV flat file date are in the following format. dd/mm/yyyy (05/01/2005)and d/m/yyyy (5/1/2005) and dd/m/yyyy (05/1/2005) and d/mm/yyyy (5/01/2005). It should be load to target in a unique format. How will you implement this?

1 Answers  






if the session fails after 100 records agian we have to starts the session or we go for recovery session

2 Answers   TCS,


in performance wise union is past,union all is past

2 Answers  


My sql query is 1. select 1+x from dual? 2. select 1+'x' from Dual? 3. Select x+1 from dual? what is the out put of the above queries?

3 Answers   HP,


What is an aggregator transformation?

0 Answers  


I'd like the load to be triggered by client. By placement of a file or somehow. How is it done in Informatica? I'm using version 7.1.4 This is so urgent - I really appreciate your help :-)

3 Answers   Alcatel-Lucent, ECI Telecom,


what are the limitation of sorter transformation?

2 Answers   TCS,


A Main workflow "wkf_Main" has multiple sessions (S1, S2...., can I make changes and promte one session (S5) at any time or have to promote whole Workflow "wkf_Main" every time?

4 Answers  


Categories