Subject | Re: autocommit mode |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-06-09T15:43:52Z |
> Is it the same if there isn't any trigger? I mean, does the engineYup. For example, "UPDATE a SET pk = pk + 1000" will fail if there's a
> undo all the changes of a single statement that encountered an error?
>
> The situation could be a single statement that tries to insert lots of
> registers in a non-empty table and violates a unique key constraint in
> the middle of the procces.
unique constraint violation and any change made but this update is
discarded. All or nothing.
Best regards,
Roman Rokytskyy