Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to check if data in one field of one table is matching with data in one field in other table
Both the field names are different
Please help
Thanks
for " ... if code1 value exists in code2 ... " it would rather be
Exists(code2,code1)
You could use this expression not only to restrict your load statement in the where clause but also as condition in an If() function that generates your desired code field.
@Bharathi09 can you share a sample data and the expected output
You haven't actually added the data now. Can you try again?
Jordy
Climber
code1 | DOJ | DOL | City |
ERG | 25-8-2017 | 13-8-2020 | Mexico |
FCG | 12/7/2018 | 15-6-2019 | Texas |
ERX | 21-9-2018 | 31-08-2021 | Chicago |
MLS | 9/9/2021 | 16-7-2022 | Mussorie |
TKG | 20-6-2016 | 17-9-2018 | Michigan |
code2 | ID | Name | Location |
ERG | 105 | Chris | USA |
FCG | 107 | James | Venezula |
ERC | 209 | Mike | Australia |
MLT | 367 | Michael | Mussorie |
TKG | 132 | Thomas | Michigan |
please reply
Does it works?
because two fileds in two different load statements with two different names
Yes, it does