Article ID: 296539 - Last Review: October 3, 2003 - Revision: 3.2 BUG: T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures with Same Name Owned by Non-DBO UsersThis article was previously published under Q296539
BUG #: 353351 (SHILOH_BUGS)
SYMPTOMS
If you have two stored procedures with the same name, one owned by the database owner (DBO) and the other owned by a non-DBO user (for example, dbo.test_proc and xyz.test_proc), when trying to debug the xyz.test_proc procedure, neither the DBO nor the xyz user can step through the stored procedure using the T-SQL debugger from SQL Server 2000 Query Analyzer. The stored procedure is executed immediately under the T-SQL debugger when run from Query Analyzer. Breakpoints can be set after the first execution, but none of the step-through buttons are available. The problem disappears after the DBO-owned stored procedure is dropped, and reappears when it is re-created. WORKAROUND
Any of the following workarounds can be used:
STATUS
Microsoft has confirmed this to be a problem in SQL Server 2000.
| Article Translations
|

Back to the top
