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
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 |
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 |
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 |
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 |
hi friends .i designed mapping in windows but i want to run mapping in linux.should i install the server components in linux?
what are the limitations for bulk loading in informatica for all kind of databases and transformations?
What is pmcmd command?
What is limitations of truncate and load option
Diff b/w ShortCut and reusabel Object ?
What do you mean by blocking transformation?
How the informatica server increases the session performance through partitioning the source?
write asql query to filter improper date format? date 20-apr 11-mar-2010 30-may-2010 feb-2009 i want the output date 11-mar-2010 30-may-2010
Can we use Lookup instead of Joiner to join 2 tables? If yes which is faster and why?
What is the maplet?
I want skip first 5 rows to load in to target? what will be the logic at session level ??
write a query following source region sales 1 1000 2 2000 i want the output ?please give solution 1 2 1000 2000