DOCBUG: Nested SPs Can Use Temp Tables Created by Parent (151559)



The information in this article applies to:

  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5

This article was previously published under Q151559
BUG#: 15259

SYMPTOMS

The "Database Developers Companion," chapter 6, page 203, in the Stored Procedure Rules section, incorrectly states that if a stored procedure creates a temporary table and then calls another stored procedure, the nested or child procedure can not reference the temporary table created by the parent procedure.

Nested stored procedures can access all objects created by the stored procedures that call it.

STATUS

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

Modification Type:MinorLast Reviewed:3/14/2005
Keywords:kbBug kbpending KB151559