Subject Re: [Firebird-Architect] Autonomous Transaction Routines
Author Alex Peshkov
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.

> Also it eliminate needs for new
> syntax construction

Not agreed, using std compound-statement requires less new syntax
constructions. Though this should not be criteria for selection :)