Knowledge Base

BUG: Orphaned Temporary Tables After Error 1105 in Tempdb

Article ID: 163175

Article Last Modified on 10/3/2003


APPLIES TO


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.

Keywords: kbbug kbenv kbusage KB163175