Can we create any alerts when the schema changes in a databa

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

Can we create any alerts when the schema changes in a databa

Postby svivekraju » Fri Nov 23, 2012 1:17 pm

Can we create any alerts when the schema changes in a database in sql compare.....if anything changes in schema can configure alerts so we can receive them to our email....is there any solution ????

in sql backup tool we dont have something to configure alert when schema changes in a db

looking at sql compare tool, we can check for schema changes but im worried about alerts to get emails???? any solutions pls#???
svivekraju
 
Posts: 1
Joined: Fri Nov 23, 2012 1:14 pm
Location: london

Postby Brian Donahue » Mon Nov 26, 2012 4:52 pm

Hello,

SQL Compare can compare two database schemas and show you if there are any differences, but it has no email capability.

You could write some batch script that runs the command-line version every so often and alerts you when the error code returned is not "63", which indicates the databases are equal and there is nothing to be compared.

There is a VBScript from a few years ago that may help.

http://www.red-gate.com/messageboard/vi ... php?t=1098
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests