Sql-server – How to check for stored procedure consistency across multiples servers

sql serverstored-procedures

I've got a stored procedure on 10 distinct servers, how can I check across all servers for stored procedure consistency?

I'm currently pulling the definition for each server manually, and comparing it in notepad++ compare tool.

It's quite time consuming, and surely I'm not the first one to have this problem.

Best Answer

Kankuru is a great and FREE monitoring tool for SQL Server developed here in France. Aside from its monitoring capabilities, it also has a DB compare tool that is easy and simple to use.

It will not only show you if your stored procedures, tables, indexes, types, etc. exist on two servers, but also what those differences are between those two servers.

enter image description here

Here is another compare screen

enter image description here

It's very easy to use and as mentioned before, won't cost you a dime.

To setup Kankuru

  1. Create an empty database in some SQL Server called Kankuru. The kankuru database just stores configuration information and some history and its very compact.

  2. Start Kankuru and from the Home Menu select Configuration

enter image description here

  1. Configure kankuru to use the server\instance and database that you just created.

enter image description here

There is documentation, but its in French. Google translate will be able to get you through one way or another.