Answer the question
In order to leave comments, you need to log in
How to make join on like?
There are 2 tables, one has an ID column with the code 576000, the other table also has an ID with the code as in the screenshot, the central part is completely identical, is it possible to make a join? or not? How then to connect according to this criterion?
according to this criterion
Answer the question
In order to leave comments, you need to log in
SELECT Table_A.ID1, Table_B.ID2
FROM Table_A INNER JOIN Table_B ON CHARINDEX(Table_A.ID1, Table_B.ID2) > 0
PATINDEX
.
is it possible to do a join?
Too vague TK. The simplest like '%576000%'
You can also use wildcards
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question