Subject | Re: Problem with parameters of FOR SELECT cycle |
---|---|
Author | tomkrej |
Post date | 2008-09-03T08:42:34Z |
> Yes, of course. In the first version, you are changing the value ofthe variable id_zaz as soon as the first match is found for it....so
the inner loop has nowhere to go after that because the dependency
that was passed from the outer loop is lost.
>initialise variables in PSQL code....just as you would in any coding
> And - even without this logic problem, you must be careful to
environment....especially around looping structures.
>OK, no problem, I only expected that server execute the select first,
> ./heLen
>
and then only go through this selection without checking the select
statment again.
Tom