how to get the first row without using rank t/r?
Answers were Sorted based on User's Feedback
Answer / moorthy g
In Source Qualifier Sql Override
Ex: Table Name: Dept1
SELECT DEPT1.DEPTNO, DEPT1.DNAME, DEPT1.LOC
FROM
DEPT1
WHERE ROWNUM=1
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / abhishek kumar
step 1
if first row h as not null then we can use first()
function in aggregator T/F.
step 2
use sequence generator T/F And filter T/F write condition
nextval=1
| Is This Answer Correct ? | 10 Yes | 0 No |
by using first function in aggregator transformation.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / basi
your question is worng . because you are asking fist row
why are you using rank t/r
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
How do you handle decimal places while importing a flatfile into informatica?
How does the aggregator transformation handle null values?
I want to run a informatica worklow after complition of oracle procedure. That procedure is not running through informatica and can be run at any time in database. Informatica is in windows environment. Is it possible ? If yes please explain.
wat transf shud i use to achieve this id sal id sal sum src-1 20 tgt 1 20 40 1 20 1 20 40 2 15 2 15 35 2 20 2 20 35
If source is having 5000 rows,and if you want to load data into 500 rows to target,if the session runs successfully,how can you verify the target if the rows are successfully loaded or not.
What is partioning?how many types of partinings are there
how can we find the bottle neck in SQL Query in SOURCE QUALIFIER, and how can we tune it..?
HOW CAN I SEND HALF OF THE RECORDS TO ONE TARGET AND REMAINING TO OTHER TARGET?
What is meant by pre and post session shell command?
difference between shortcut and reusable transformation?
how we can update a target table without update strategy and update override?
what is the end to end process meaning in my project(my project is development)and functionality plz tell me