| have a query in procedure like this:
select Result1 From Table1 WHERE Condition_part1 AND CASE WHEN input1=1 THEN Condition_part21 EHEN inp