WarkoisLives
MIS
Hi All
Drawing a blank on this Friday afternoon.
I need to be able to see if a certain record is in another table.
Table 1
ID Product
10 ABC
20 DEF
30 GHI
40 JKL
Table 2
ID
1,3,4,5,10
10,100,200,300
10,25,500
5,6,7,40
I want it to return to see if any of the records in table 1 are in table 2 but the column in Table 2 is a string. I just need the actual logic. I know how to convert an int to a char.
Results
10 ABC
20 DEF
40 JKL
Drawing a blank on this Friday afternoon.
I need to be able to see if a certain record is in another table.
Table 1
ID Product
10 ABC
20 DEF
30 GHI
40 JKL
Table 2
ID
1,3,4,5,10
10,100,200,300
10,25,500
5,6,7,40
I want it to return to see if any of the records in table 1 are in table 2 but the column in Table 2 is a string. I just need the actual logic. I know how to convert an int to a char.
Results
10 ABC
20 DEF
40 JKL