SQL Compare - server wide compares (Question)
![djinni69](https://us.v-cdn.net/6029854/uploads/defaultavatar/nZUSABQN8JEE0.jpg)
I want to use SQL Compare as a baselining tool, and I'm having great success so far. I have a question though. Currently, I am using the command line interface for SQL Compare Pro to compare snapshots (my baselines) to a live SQL Server. Is there an easy way to compare all databases on a server, or am I stuck with creating a script for each individual database compare? It doesn't really matter if a whole server compare isn't available, I'm just being lazy
Thoughts?
![:) :)](https://forum.red-gate.com/plugins/redgate/emoji/smile.png)
This discussion has been closed.
Comments
Sorry for the delay. Maybe this batch script will give you some idea about how you could compare all databases on a server to a snapshot using a DOS batch file. Note you'll need osql.exe, which is part of the SQL Server client-side-tools installation if you want to try to run this command from a workstation: