How to make triggers

  • How do I set triggers to record all changes to all databases to a file, so I can execute them on a remote database(for daily backups of changes).

    For example every time any change is made in the database the query that affected the database is recorded in a file to be mass executed.

    My version is SQL\MSDE.

    Thanks

  • This would be cumbersome in T-SQL. You'd be better off running SQL Trace and capturing all changes that way, replaying them against another copy of the database.

  • How would I do this, forgive me I am a bit of a newb in this area.

  • Continues here - http://www.sqlservercentral.com/Forums/Topic966360-1292-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply