scriptscribe
MIS
Hi,
I'm using the below query to try to exlude any insurance codes that start with a k or v, but it's not working.
AND NOT (FinClassCurr IN('W','C','K','V') OR (LEFT(PrimaryIns,1) IN ('K','V') OR LEFT(SecondaryIns,1) IN ('K','V') Or LEFT(TertiaryIns,1) in ('K','V') OR PrimaryIns = 'M20' Or SecondaryIns = 'M20' OR TertiaryIns = 'M20'))
Any help will be greatly appreciated.
Thanks,
Mike
I'm using the below query to try to exlude any insurance codes that start with a k or v, but it's not working.
AND NOT (FinClassCurr IN('W','C','K','V') OR (LEFT(PrimaryIns,1) IN ('K','V') OR LEFT(SecondaryIns,1) IN ('K','V') Or LEFT(TertiaryIns,1) in ('K','V') OR PrimaryIns = 'M20' Or SecondaryIns = 'M20' OR TertiaryIns = 'M20'))
Any help will be greatly appreciated.
Thanks,
Mike