Compare Database Schemas

One of the great things about PowerShell is the strength of the PowerShell community. This is shown by the number of people sharing their PowerShell scripts. 

A good example is the script to compare the schemas of two SQL Server databases that Steven has written –  http://blog.usepowershell.com/2009/02/comparing-database-schemas/.  This could be valuable if you work in an environment where databases are frequently changing.  This can also be used to give an audit trail of change over time.

It is also a good example of how to interact with SQL Server from within PowerShell.

 

Technorati Tags: ,

About these ads
This entry was posted in PowerShell and SQL Server. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s