I am working on two databases and I am extracting the data from both the database and storing that in datatable. The volume of each data table is 5 lakh
Suppose dt1 is in the following format
Item
Lot No
1
abc,xyz,pqr
2
pqr,sas,abz
3
taw,swq,tsa
And dt2 is in the below format
Item
Lot No
1
abc
1
xyz
1
pqr
2
pqr
2
sas
2
abz
3
taw
3
swq
3
tsa
Now my requirement is I have to search item and lot number combination from dt1 into the dt2
For ex : item 1 and lot abc,xyz,pqr, from dt1 database have to search in dt2
so lot combination in dt1 is comma separated and in dt2 it’s not comma separated. As the volume of data is too huge and if l use for each activity here then it will take a long time to execute
Anyone, could you please help me to solve this issue