BUG: Orphaned Temporary Tables After Error 1105 in Tempdb (163175)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q163175
BUG #: 16529 (6.5)

SYMPTOMS

If you run an EXECUTE statement that creates two or more temporary tables and it causes error 1105 in tempdb, orphaned temporary tables remain in the tempdb until SQL Server is stopped and restarted. A disconnect does not remove the tables from tempdb.

WORKAROUND

To avoid running into this problem, increase the size of tempdb. Restart SQL Server to clear the temporary tables.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbenv kbusage KB163175