Subject | Re: Firebird 2.0 and EXECUTE BLOCK |
---|---|
Author | Greg At ACD |
Post date | 2006-02-22T17:01:02Z |
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@...> wrote:
didnt work the first time.
I guess a silly blunder is good news... or at least an 'easy' fix.
Thx for the help!
Greg
<Ivan.Prenosil@...> wrote:
>EXECUTE
> > I am trying out the FB 2.0 beta 2, and am curious about the new
> > BLOCK feature. I can't seem to get it to work, though...tells me
> >
> > My sample follows:
> >
> > execute block returns (ID bigint)
> > as
> > begin
> > for select nID from MYTABLE
> > into :ID do
> > begin
> > suspend;
> > end
> > end
> >
> > Trying this in (the latest) Database Workbench or with ISQL
> > that it doesn't like the :ID in the INTO statement (Dynamic SQLError
> > SQL error code = -104 Token unknown - line 5, column 8 ? ).DOH! Worked fine for me too now... very strange. Not sure why it
>
> It works fine for me (just copy-pasted your example into ISQL).
> Can you try different build ? (I have 12306)
>
> Ivan
>
didnt work the first time.
I guess a silly blunder is good news... or at least an 'easy' fix.
Thx for the help!
Greg