Home > Software > Data-Warehouse > Informatica
Interview Questions   Tutorials   Discussions   Programs   

Informatica - How to get the first row without using rank t/r?




447
views
asked marvit September 20, 2014 07:59 AM  

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


           

1 Answers



 
answered By vishnoiprem   0  
In Source Qualifier Sql Override
Ex: Table Name: Dept1

SELECT DEPT1.DEPTNO, DEPT1.DNAME, DEPT1.LOC
FROM
DEPT1
WHERE ROWNUM=1

step 2
if first row h as not null then we can use first()
function in aggregator T/F.

step 3
use sequence generator T/F And filter T/F write condition
nextval=1

step4
SQ-Sorter-Seq-Exp-Fiter(nextval=1)-Target
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert