My source table having some records ,i want load 1st record
and last record into one target?
Answers were Sorted based on User's Feedback
Answer / guest
BY USING FIRST FUNCTION, TO GET THE 1ST RECORD,
TO GET THE LAST RECORD , SIMPLY USE AGGREGATE
TRANSFORAMATION IN THIS DO NOT APPLY GROUP BY FUNCTION BY
DEFALUT IT WILL GENERATE LAST RECORD
OR
USE RANK TRANS
IN =>PROPERTIES NO OF TOP RANKS:1
NO OF BOTTOM RANKS:LAST RECORD
Is This Answer Correct ? | 13 Yes | 0 No |
I took the EMP table and we can use the below query in the
SQL override,
select * from emp where rownum=1 union select *
from emp where rowid=(select max(rowid) from
emp);
it will work.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / kiran
take two rank transformations and take reusable sequence
generator connect the next value to both rank transformations
and in the rank transformations properties for the first one
take top and number of ranks as 1 for the second take bottom
and number of ranks 1 at the last take two instances of tgt
connect the ranktrans to two instances
Is This Answer Correct ? | 1 Yes | 0 No |
write sql query to filter the null value data following table? name age john 30 smith null null 34 sharp 24 i want the output following are name age john 30 sharp 24
What are the guidelines to be followed while using union transformation?
what is tha tracesing level? and difference betweentrace in normal and verbose and nonverbose?
what is junk dimension
what is upstream and downstream transformation?
How do u identify or filter out a 0 byte file available in a folder by using UNIX command?
Hi experts, For informatica developer, in real time, normally how much we use sql and plsql?
write a sql query following table? col1 col2 1 2 1 2 1 2 3 4 3 4 5 6 i want the output like unique duplicate col1 col2 col1 col2 1 2 1 2 3 4 1 2 5 6
What is the fact table?
what is left outer join?
How to eliminate duplicates in FF and oracle both
how can i invoke pmcmd in command line prompt