Subject | Re: [Firebird-Architect] Autonomous Transaction Routines |
---|---|
Author | Alex Peshkov |
Post date | 2007-11-09T14:44:54Z |
On Friday 09 November 2007 17:38, Vlad Khorsun wrote:
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.
constructions. Though this should not be criteria for selection :)
> BEGIN AUTONOMOUSIf we want to highlight a fact, that this is not flow control, but transaction
> 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.
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 newNot agreed, using std compound-statement requires less new syntax
> syntax construction
constructions. Though this should not be criteria for selection :)