I Need to manually migrate modified stored procedures from a DEV SQL Server 2005 database instance to a TEST instance. Except for the changes I\'m migrating, the databases have
Bob OMalley probably solved his problem long time ago but hopefully new readers will find this useful.
There are some special cases where scripts might not give optimal results.
One is deleting stored procedures or other objects in dev environment – you won’t catch this using system views because object won’t exist there any longer.
Also, I’m not really sure this approach can work on changes such as permissions and similar.
In such cases its best to use some third party tool just to double check nothing is missed.
I’ve successfully used ApexSQL Diff in the past for similar tasks and it worked really good on large databases with 1000+ objects but you can’t go wrong with SQL Compare that’s already mentioned here or basically any other tool that exists on the market.
Disclaimer: I’m not affiliated with any of the vendors I’m mentioning here but I do use both set of tools (Apex and RG) in the company I work for.