Re: UPDATE and ALTER in transactions do not mix
- From: "Baz" <bazz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Aug 2005 11:43:11 +0100
"Jonathan S via AccessMonster.com" <forum@xxxxxxxxxxxxxxxxx> wrote in
message news:5254E99C21B04@xxxxxxxxxxxxxxxxxxxx
> I am trying to update a system by issuing an UPDATE and then an ALTER
> statement. I suppose this normally should work no problem; however, inside
of
> a transaction I always get that the table is in use by another user.
>
> Can anyone verify that UPDATE followed by an ALTER statement, inside of a
> transaction, would cause the "table in use by another user" error?
>
> Jonathan Scott
>
>
> --
> Message posted via http://www.accessmonster.com
I can't categorically confirm that this is the case, but it seems pretty
reasonable. Performing an UPDATE within a transaction will issue a lock
which will not be released until the transaction is committed, and it seems
sensible to me that you can't ALTER a table that has a lock on it.
.
- Follow-Ups:
- Re: UPDATE and ALTER in transactions do not mix
- From: Jonathan Scott via AccessMonster.com
- Re: UPDATE and ALTER in transactions do not mix
- References:
- UPDATE and ALTER in transactions do not mix
- From: Jonathan S via AccessMonster.com
- UPDATE and ALTER in transactions do not mix
- Prev by Date: Re: UPDATE and ALTER in transactions do not mix
- Next by Date: Re: How do I delete a subform and keep all the information?
- Previous by thread: Re: UPDATE and ALTER in transactions do not mix
- Next by thread: Re: UPDATE and ALTER in transactions do not mix
- Index(es):
Relevant Pages
|