Re: Track changes made to SQL Server



On Feb 26, 3:04 am, Erland Sommarskog <esq...@xxxxxxxxxxxxx> wrote:
John Sheppard (s...@xxxxxxxxxx) writes:
Does anyone know of a way to track changes to anSQLServerdatabase so
that I can easily run those changes at a later date?

That is, I want to make schema changes, and record those changes so that I
can execute them 6 months later on a copy of the orignal database.

Develop scripts and keep them under source control.

If you forgot to that,SQLComparefrom Red Gate can be your rescue.

--
Erland Sommarskog,SQLServerMVP, esq...@xxxxxxxxxxxxx

Books Online forSQLServer2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online forSQLServer2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

As can xSQL Object from xSQL Software (http://www.xsqlsoftware.com)
and what's even better you may not have to pay a dime for it as it is
free for SQL Server Express and also free for other editions of SQL
Server with some limitations.

JC
.



Relevant Pages

  • Re: Max query size in osql or management studio?
    ... either the scripts or how people run them. ... SQLCMD has a few more features, ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Check if a Table is used in any sp or function
    ... I can generate all the scripts and look for it. ... on a chunk border. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Copy Database Wizard - what would you improve?
    ... "Import and Export Wizard"? ... Another option is Generate Scripts to get the objects. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Primary Key fails to copy in db Export
    ... primary keys in the tables, although I haven't located that yet. ... The last thing I would set my bets on is something that scripts the database ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Query training -- Complex queries
    ... > Update PositionsEOM ... Here you don't have a derived table, but a correlated subquery. ... UPDATE in Books Online. ... is not written for SQL Server. ...
    (microsoft.public.sqlserver.server)