Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: lookup multiple values

$
0
0

For the column QUALITY_CD, instead of lookup, you can try search substring.

 

See if joining this way works

 

SELECT *

FROMA INNER JOIN LOOKUPTABLE

ON A.STATUS = LOOKUPTABLE.STATUS

AND CHARINDEX(A.QUALITY_CD,LOOKUPTABLE.QUALITY_CD) = 0


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>