Knowledge Base

FIX: Access to TEXT Column of Temp Table Inside SP May Cause AV

Article ID: 194217

Article Last Modified on 3/14/2006


APPLIES TO


This article was previously published under Q194217
BUG #: 16663 (SQLBUG_65)

SYMPTOMS

Executing a READTEXT, WRITETEXT, or UPDATETEXT statement against a TEXT/IMAGE column of a temporary table inside a stored procedure will cause a handled access violation if both of the following conditions are true:

  • The temporary table was created outside the stored procedure.

    -and-
  • At the time the stored procedure is executed, the temporary table is different from the one at the time when the stored procedure was created.

STATUS

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

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

Additional query words: prodsqltemp st proc sp av sp5

Keywords: kbbug kbfix kbsqlserv650sp5fix KB194217