Hi I am facing issues with the multiselect option. It works on a single select but wouldn't on a multiselect option. Returns error 'Multiselect query should be a procedure call.'
Parameter query:
SELECT 'ALL', 'ALL'
UNION
SELECT DISTINCT frequency,frequency FROM kennel_user.membership_addon WHERE frequency IS NOT NULL;
Parameter implementated in report query:
inMembershipType varchar(128)
AND (CASE WHEN inMembershipType = 'ALL' THEN ms.frequency IN ('ANNUALLY','MONTHLY','BIANNUALLY','DAILY','QUARTERLY','WEEKLY','CUSTOM','LIFETIME')
ELSE ms.frequency = inMembershipType END)
Please provide any solution.