SQL Compare

Latest version: 10.0

SQL Compare

Knowledge Base

Support for numbered stored procedures

Category: Frequently-asked questions
Date: 16 Dec 2010
Product: SQL Compare
In SQL 2000, it is possible to have multiple stored procedures with the same name, provided they are differentiated by a number. Does SQL Compare support numbered stored procedures?

SQL Compare can migrate numbered stored procedures as part of a synchronization, however, they are not compared as individual objects. Consider the following:

CREATE PROC [dbo].[GetAllObjectsx];1
AS SELECT [name] FROM sysobjects

CREATE PROC [dbo].[GetAllObjectsx];2
AS SELECT [name] FROM sysobjects

   If a difference is detected in the second version of the stored procedure, the procedure and all of its' numbered variants will be altered together. Since this type of object is no longer supported in new versions of SQL Server, we do not plan to enhance the support for numbered stored procedures in the future.

Document ID: KB200806000273 Keywords: SQL,Server,2000,Compare,numbered,stored,procedure

Was this article helpful?

Search support
Forums
Visit the SQL Compare forum.

SQL Compare

all SQL products

all products