Knowledge Base

FIX: Names May Collide with Creation of Temp Stored Procedures

Article ID: 159849

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q159849
BUG #: 15924 (WINDOWS: 6.5)

SYMPTOMS

If an Open Database Connectivity (ODBC) driver creates stored procedures within a very short time of one another, the names of the stored procedures may collide.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

MORE INFORMATION

ODBC uses timestamp values in the naming convention of temporary stored procedures. It is possible for a very quick thread (or multiple threads) to use the same timestamp, and create additional stored procedures with the same name. The server would then not be able to resolve which of the stored procedures to run.

Keywords: kbbug kbfix kbprogramming KB159849