i have source as
Column1
101 a 101 b 101 c
so i want to load target as
column1 ---> 101 abc
Answers were Sorted based on User's Feedback
SQ - Exp - Target
In exp transformation
newport1 - SUBSTR(column1,1,3)
newport2 - LTRIM(RTRIM(column1))
newport3 - REPLACECHR(1,newport2,'101','')
newport4 - newport1 || ' ' || newport3
pass newport4 to target
anyone pls confirm if it is wrong
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dilip ingole
using SQL
SELECT SUBSTR('101 a 101 b 101 c',1,4) ID ,REPLACE(TRANSLATE('101 a 101 b 101 c','1234567890',' '),' ','') DATA FROM DUAL;
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain sessions. Explain how batches are used to combine executions?
What is diff between connected and unconnected lookup?
5 Answers BirlaSoft, Blue Star Infotech,
Explain the aggregator transformation?
What is the Hierarchy of DWH?
i have 1000 record flat file source i want 1st row to 1st target, 2nd row to 2nd target, 3rd row to 3rd target how will u do? Without using Mod Function? Explain....
what is the -ve test case in your project.
what is constraint based loading
If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?
How do you manage the Parameter files while migrating your data from one environment to another environment?
i have 2 session s1 execute s2 load first session fail what is the reason?
if i hv 6 table as source table but can i make 12 as a dim table and 6 as fact table belongs to that src table.
I am having source ENO ENAME LOC 1 A PUNE 2 B MUMBAI 3 C CHENNAI Target ENO ENAME LOC 1 A PUNE 2 B MUMBAI 3 C CHENNAI If a new record coming from source from same location it should directly go to specified location in target at begining EX:if Eno with 4 coming from same Pune, It should directly load into the Pune location col with '|' symbol. Help me its very urgent