Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

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 3719

Trending Articles