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
How to generate sequence numbers?
While importing the relational source definition from the database, what are the metadata of source that will be imported?
What is the command used to run a batch?
What are the new features of Power Center 5.0?
update strategy transformation in informatica
What are the settings that you use to configure the joiner transformation?
differences between service based and product based?
How do you load more than 1 max sal in each department through informatica or write sql query in oracle?
Which means the first record should come as last record and last record should come as first record and load into the target file?
What are mapplets?
What is meant by incremental aggregation?
what is size of u r database?
What is parallel processing in informatica?
How can you generate reports in informatica?
whats the logic to load the lower level of granularity of data to fact table.