On Tue, Jun 10, 2008 at 9:33 AM, Stefan Schwarzer <stefan.schwarzer@xxxxxxxxxxxx> wrote: > Here I would like to check: > > IF param1 < 75 THEN region-in-$result-should-be-set-to-NULL Not sure I get what all you're wanting to do from your message, but could you use a case statement in sql to do this? Or put it in the where clause?