Subject Re: [Firebird-Architect] Autonomous Transaction Routines
Author Vlad Khorsun
> On Friday 09 November 2007 17:38, Vlad Khorsun wrote:
> > BEGIN AUTONOMOUS
> > INSERT ..
> > END
> > Yes. From the user point of view BEGIN ... END is a block of code.
> > And BEGIN AUTONOMOUS ... END clearly states it is block of autonomous code
> > (or autonomous block of code :), i think.
>
> If we want to highlight a fact, that this is not flow control, but transaction
> control, at the SQL syntax level, this approach is better. On the other hand,
> it IS a kind of flow control - we create independent path of PSQL code
> execution.

Its not independent from the flow control POV

> > Also it eliminate needs for new
> > syntax construction
>
> Not agreed, using std compound-statement requires less new syntax
> constructions.

Both syntax's requires one new reserved word - AUTONOMOUS.
Or i not understand you there :(

> Though this should not be criteria for selection :)

All above is just my feeling how it could be most logical ;)

Regards,
Vlad