Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favourite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved in your SSC briefcase from the favorites tab.
Download now (direct download link)

Compare SQL code of 2 objects.

By llt,

Scripst are written to use database with name DBAdmin for maintanace. You can use any existing databsae, but you need to change all scripts to use other name then DBAdmin.


You need create table dba_objScript and procedure usp_DBA_objScript_compare in DBAdmin

If you need compare objects across servers, you need to have other servers added as linked server on server where you run DBAdmin..usp_DBA_objScript_compare is located.

EACH server need to have database DBAdmin and table dba_objScript.

EACH DATABASE, from which you want compare objects need to have stored proc usp_dba_objScript_save.

Only used in SQL2000.

Total article views: 1031 | Views in the last 30 days: 2
 
Related Articles
FORUM

Yessoft - SQL Server compare

Yessoft - SQL Server compare

FORUM

Comparing multiple SQL databases

Comparing multiple SQL databases (schema's)

FORUM

comparing with database values

comparing with database values

SCRIPT

SQL DBAdmin toolbox - Part 1: Restore single database

A stored procedure for restoring a database up to the latest log backup from a file folder. Compatib...

FORUM

comparing physcial file name of the database

comparing physcial file name of the database

Tags
maintenance    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones