Need help in understanding logic. I have 2 tables from different database. There is one field in common but not the data completely.
As an example: table 1 the field data is coming as :test
table 2 its coming as - select test from tablename
I need to compare and fetch all the data from table 2 where its matching with data in table 1 i.e test .I am trying to use full outer join and then regular match to fetch the records test but its not working. Can someone pls help in understanding the ideal solution for this problem
You can use a SQL transformation or you can use the method you are using full join and
instr().A. Using SQL transformation -
Use table1 as Source qualifier. Pass the column you want to match (lets assume the col name is match_col).
B. Using full join and
instr()- This is an in-effieicnt method but it will work when the data volume is low.Mapping will be like