Much of the code we have checked into Vault is stored procedures, views and triggers for a SQL 2000 server. I would like to compare what is in Vault to what is actually in SQL.
My question is has anyone figured out a way to compare what is checked into Vault to what is in a SQL database? Or a workaround?
Thanks!
Compare checked in code to SQL
Moderator: SourceGear
You would need to generate scripts from the existing SQL Server database (using Enterprise Manager) and compare that to the code you've got in your repository. Vault includes a text diff viewer, as does Visual Studio.
As an alternative, you could generate a new database using the scripts from Vault, and use a third party tool to compare the databases themselves. (There are many such comparison tools. A Google search for "SQL database comparison" yielded at least five.)
As an alternative, you could generate a new database using the scripts from Vault, and use a third party tool to compare the databases themselves. (There are many such comparison tools. A Google search for "SQL database comparison" yielded at least five.)
Ian Olsen
SourceGear
SourceGear