Subject Re: [firebird-support] "for select" and break
Author Milan Babuskov
Henrik Sitter wrote:

> Hello,
>
> I would like to do something like:
>
> for select aValue
> from aTable
> into aVariable
> do
> begin
> if (aVariable = anInputVariable) then
> break;
> end

Why don't you just do:

for select aValue
from aTable
where aVariable <> :anInputVariable
into aVariable
do
...


--
Milan Babuskov
http://fbexport.sourceforge.net