BUG: CREATE TABLE in Stored Procedure with the Name "sp_" May FailID: Q196789
|
Creating a stored procedure in the master database in which both of the
following conditions are true
Server: Msg 3701, Level 11, State 5, Procedure sp_test, Line 5
Cannot drop the table 'test', because it does not exist in the system
catalog.
Avoid using the sp_ prefix for user defined stored procedures. Avoid creating and dropping tables in stored procedures that are prefixed with sp_. If this cannot be avoided, fully qualify the object name. For example, use pubs.dbo.authors.
Microsoft has confirmed this to be a problem in SQL Server version 7.0.
Additional query words: prodsql
Keywords : SSrvStProc kbbug7.00
Version : WINNT:7.0
Platform : winnt
Issue type : kbbug
Last Reviewed: April 21, 1999