| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Theoretical Basis for SELECT FOR UPDATE
vc wrote:
> Tony Andrews wrote:
>
>>vc wrote: >> >>>>Yes, it would: your syntax is not valid. The commas are not merely an >>>>syntactic alternative to semi-colons, they are semantically different >>>>too: they indicate that the two updates are to be treated as a single >>>>DML statement with no implicit ordering. You can't insert a call to >>>>procedure between the two updates - that is the point of having this >>>>syntax! >>> >>>Never mind 'print', is the update,select,update; sequence legal ? >> >>No. There is no "sequence" here - that is the whole point!
I know I'm butting in and I don't have a good answer to any of this but I'd just like to point out that TTM, 2nd edition, page 169 says the target variables are updated in parallel (apparently the first edition did define it as a sequence of updates). It also says that "the overall result might be unpredictable if the target variabls T1, T2, ..., Tn are not all distinct...".
p Received on Tue Oct 04 2005 - 11:35:22 CDT
![]() |
![]() |