Re: UPDATE and ALTER in transactions do not mix
- From: "Jamie Collins" <jamiecollins@xxxxxxxxxx>
- Date: 4 Aug 2005 07:47:46 -0700
Jamie Collins wrote:
> > Can anyone verify that UPDATE followed by an ALTER statement, inside of a
> > transaction, would cause the "table in use by another user" error
I just re-read this! My re-test:
m_Conn.Open
m_Conn.BeginTrans
m_Conn.Execute "UPDATE Test SET earnings_amt = 12"
m_Conn.Execute "ALTER TABLE Test ADD blah INTEGER"
-- error: "The database engine could not lock table 'Test' because it
is already in use by another person or process."
.
- References:
- UPDATE and ALTER in transactions do not mix
- From: Jonathan S via AccessMonster.com
- Re: UPDATE and ALTER in transactions do not mix
- From: Jamie Collins
- UPDATE and ALTER in transactions do not mix
- Prev by Date: Re: Do not want data to auto sort
- Next by Date: Re: Do not want data to auto sort
- 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):
Loading