Subject | Re: Post in transaction |
---|---|
Author | Béru |
Post date | 2003-02-19T14:12:45Z |
""Burak OZLER"" <burak.ozler@...> wrote in message
news:000b01c2d81f$7fc8d850$2464a8c0@......
transactions as short as possible and use "wait" instead of "no wait".
Berenger Enselme
news:000b01c2d81f$7fc8d850$2464a8c0@......
> Hi all,at BB references a field at AA
>
> I have a problem that must have solved very urgently.
>
> 1 - I start a transaction1
> 2 - Edit AA
> 3 - Change a value at table AA
> 4 - Post AA
> 5 - Start transaction2
> 5 - Change or insert a record to an another table (BB), one field
> 6 - The referenced value at BB is the row at AA that was edited andposted.
> 7 - When I try to post the data at BB I get anUnfortunately, I don't think you can. The key here is to keep your
> "lock conflict on no wait transaction
> violation of FOREIGN KEY constrait "FK_XXX" on table "BB"."
> error.
>
> how can I achive to post the BB before committing transaction1??
transactions as short as possible and use "wait" instead of "no wait".
Berenger Enselme