Subject | Re: [firebird-support] Transactions in SPs(Firebird 2.0 embedded) |
---|---|
Author | Ivan Prenosil |
Post date | 2007-01-15T12:15:11Z |
> I have multiple DELETEs, UPDATEs in some of my SPs. For exampleYes. You can't execute parts of single statement (sp) in several transactions.
>
> CREATE PROCEDURE DO_STUFF
> AS
> BEGIN
>
> DELETE FROM USERS WHERE ....
>
> DELETE FROM ROLES WHERE...
>
> UPDATE LOG WHERE ...
>
> END
>
> Are all these statements run in the same transaction when I can the SP?
Ivan