how to get the first row without using rank t/r?

Answer Posted / balakrishna

select empno,name,deptno,loc from emp where rownum=1
                       and
first using sorter select asc,create expression t/r using the variable v_count=v_count+1,o_count=v_count after using the filter t/r to write condition o_count=1 connect filter t/r to target                       
                      and
source--->sq--->seq--->exp--->filter--->target
                      and
select * from emp where rownum=1minusselect * from emp where rownum=2

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is intricate mapping?

590


Please let me know how to make Data masking in informatica..

1269


How can you increase the performance in joiner transformation?

710


What is Cognos script editor?

3784


How to convert a row into column and a column into rows? Name all DTM threads. What all threads stop when we issue STOP or ABORT? How to pass the value of a data(variable kind of) from one session ( generated in mapping) to another session in the same workflow... What are the tyoes of partitioning you know and how to apply them in real time ... Can partitioning be applied to expression transformation and how

1129






What is the function of look up transformation?

651


I have a mapping loading 100 records and it failed on 20th record. how to recover it without changing anything.(in prod where we don't have any access).. (the session should should start from 21 record)

1079


What is joiner change?

679


Explain what are the different types of transformation available in informatica.

573


What is complex mapping?

639


generate date / time dimension in informatica

717


What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?

1895


What are the components of the workflow manager?

637


What is the difference between informatica 7.0 and 8.0?

567


what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?

1621