Subject begin-end with different conditions
Author Olaf Kluge
Hello,



is the following scenario possible (without a statement)?



If inputvariable A is null then

For select b, c, d from table a

Else

For select b, c, d from table b (same fields like table a but different
informations (data))

Begin



End



The Block begin-and have the same code. I don't need a begin-end-block for
both conditions (if. then for select . begin-end else for select .
begin-end)



Thank you.



Best regards.



Olaf







[Non-text portions of this message have been removed]