Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

lookup multiple values

$
0
0

I have to lookup multiple columns in the lookup table with multiple values.

 

For example.

 

LOOKUPTABLE

 

Col A             status   Quality cd

OFF-Quality     7          113,114,115

 

I have to lookup that in TABLE A with the following condition

 

if A.STATUS = LOOKUPTABLE.STATUS and A.QUALITY cd not in LOOKUPTABLE.QUALITY CD

 

 

How can I achieve this?

 

Cheers!


Viewing all articles
Browse latest Browse all 4013

Trending Articles



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