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



The information in this article applies to:

  • Microsoft SQL Server 6.5

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.

Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix kbSQLServ650sp5fix KB194217