Hello Experts,
Can you please let me know what does this where condition query means:-
case when not concat(DIM_USERS.USER_ID, '.') is null then 'Restricted' end = 'Restricted' and
case when not concat(DIM_CUSTOMERS.CUSTOMER_ID, '.') is null then 'Limited' end = 'Limited' and
case when not concat(DWF_EVENTS_SUM.USER_ID, '.') is null then 'Restricted' end = 'Restricted' and
case when not concat(DWF_EVENTS_SUM.CUSTOMER_ID, '.') is null then 'Limited' end = 'Limited' and
case when not cast(DIM_USERS.USER_ID as CHARACTER ( 24 ) ) is null then '' end not like '%Test%' and
case when not cast(DWF_EVENTS_SUM.USER_ID as CHARACTER ( 24 ) ) is null then '' end not like '%Test%' )
I am not able to understand a the logic.
However DIM_USERS has two lts with Restricted and Limited
similar case with Dim_customers has two LTS with Restricted and Limited.
Now need to understand a how this where condition work.
Thanks & Regards,
Abhi