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 |
Explain the difference between a data warehouse and a data mart?
How to generate a single mapping for both the historical and incremental load.
What is meta data and system catalog?
What is the main purpose of Unconnected lookup other than updating slowly changing dimensions? or In which case u use Unconnected lookup?
How to display last 5 records in a table ? With out Top key word and doing order by desc Advance thanks
Explain what are the different types of transformation available in informatica.
How to eliminate duplicate records in informatica mapping? Explain with an example....
In dimension and fact table? which one holds big data?
how can we check whether a particular cache is static or dynamic?
without using rank transformation how can we rank items by using some other transformations
Explain grouped cross tab?
Briefly describe lookup transformation?