I have been banging my head with this.
basically...
where....
and PaymentType IN CASE WHEN @PmtType = 'B' THEN ('BizPay','PerPay')
WHEN @PmtType = 'Z' THEN ('BizPay')
WHEN @PmtType = 'P' THEN ('PerPay')
ELSE NULL END
is what I'm after. I've tried rearrangeing the CASE, putting it in parenthesis, all over here and google, I'm just not getting it to work. Any help greatly appreacaited. Future thanks.