Microsoft KB Archive/260254

= FIX: Rollback of Transactions Named as Empty String Cause Access Violations =

Article ID: 260254

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q260254



BUG #: 57428 (SQLBUG_70)



SYMPTOMS
When a transaction with a transaction name that is an empty string (that is, ' ') is rolled back, the connection or spid leaves the transaction open. For example: create table mytab (col1 int primary key) go insert into mytab values (1) go declare @x varchar(10) set @x = '' begin tran insert into mytab values (1) rollback tran @x go When you try to commit or rollback the same transaction in the same spid or you close the connection or kill the spid from another connection, the spid with the open transaction causes an access violation with a fatal exception, which results in a server down.



WORKAROUND
Do not use an empty string as a transaction name.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Additional query words: AV rollback transaction empty string

Keywords: kbbug kbfix KB260254

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.