Subject | Re: Firebird 2.0 and EXECUTE BLOCK |
---|---|
Author | Greg At ACD |
Post date | 2006-02-22T17:05:25Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@...> wrote:
can 'fall back' to the good ol' ISQL client for testing this then.
Of course, you know that my next question will be 'when will this
support be ready?', but I'll hold off for now, and besides, that's a
question for another forum anyway.
Thx for the help!
Greg
<m.tonies@...> wrote:
>EXECUTE
> Hello Graig,
>
> > 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 ? ).not
>
> For one thing, Database Workbench does not yet like this :-)
>
> Although it supports all other Firebird 2 PSQL features, it does
> yet support "execute block".Ah, well that will help explain my confusion as well :) OK, then i
>
> Martijn Tonies
> Database Workbench - development tool for Firebird and more!
> Upscene Productions
> http://www.upscene.com
> My thoughts:
> http://blog.upscene.com/martijn/
> Database development questions? Check the forum!
> http://www.databasedevelopmentforum.com
>
can 'fall back' to the good ol' ISQL client for testing this then.
Of course, you know that my next question will be 'when will this
support be ready?', but I'll hold off for now, and besides, that's a
question for another forum anyway.
Thx for the help!
Greg