EQ - Endpoint Filter Reference Key Issue
select entitlement_valuekey as entitlement_values__Primarykey ,(select entitlement_valuekey from entitlement_values r where r.entitlementid=ev.entitlementid and r.ENTITLEMENTTYPEKEY =147) entitlement_values__REFERENCED_ENTITLEMENT from entitlement_values ev where ev.ENTITLEMENTTYPEKEY in (select et.ENTITLEMENTTYPEKEY from entitlement_types et where ENDPOINTKEY in (select ENDPOINTKEY from endpoints where PARENTENDPOINTKEY=7)) and REFERENCED_ENTITLEMENT is null and entitlementid not like '%old%' and (select entitlement_valuekey from entitlement_values r where r.entitlementid=ev.entitlementid and r.ENTITLEMENTTYPEKEY =147) != ''
Comments
Post a Comment