Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts 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: 1063 | Views in the last 30 days: 3
 
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