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

Informatica - how do u get the first record from 50,000 records ?




557
views
asked marvit September 20, 2014 08:04 AM  

how do u get the first record from 50,000 records ?


           

1 Answers



 
answered By vishnoiprem   0  
SQL OVERIDDE QUery


select * from <tbl> where rownum<2;

use first function in agg or seq->filter(rounum=1) then

So here u can import the source and after the source use a
expression transformation.
use a sq generator set start val to 1.
connect the nextval port to expession transformation.
apply a filter and set filter condition as nextval=1 connect
the filter o/p to target.
u will get the desired row

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