Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL compare

Author  Topic 

backend
Starting Member

8 Posts

Posted - 2013-04-18 : 14:41:32
Is there any online site or free program to compare two SPs to see what has been changed?

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-04-18 : 15:17:22
As you probably know there are commercial tools from RedGate, ApexSQL etc. I use RedGate, which is quite good. I am told Apex is very good as well. But, that is not what you asked.

As for free tools, I don't know of any that are as convenient as the commerical tools. You can use something like DiffMerge. It is inconvenient because you have to script the stored procs and save as files and then compare. But once you save the files, DiffMerge is quite good.
Go to Top of Page

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2013-04-18 : 16:57:44
I'm not 100% sure about this as I have other editions of Visual Studio insalled on all the machines I have access to, but if you install the SQL Server Data Tools (SSDT) it'll install the Visual Studio Shell. And I'm pretty sure that the VS shell will allow you to do Schema Comparisions.

http://msdn.microsoft.com/en-us/data/hh297027
Go to Top of Page

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2013-04-18 : 16:59:12
As another alternative you can script out the objects to files and use a file-based diff program (like WinMerge).
Go to Top of Page
   

- Advertisement -