Re: Triggers reverting
From: Wayne Snyder (wsnyder_at_computeredservices.com)
Date: 03/16/04
- Next message: Wayne Snyder: "Re: Stored procedres"
- Previous message: Greg M: "Triggers reverting"
- In reply to: Greg M: "Triggers reverting"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Mar 2004 10:30:03 -0500
If the database you mention contains the Triggers which reverted, then
probably the recovery restored the original version of the triggers...
If that is so, it suggests that you did not do up-to the minute recovery
without loss of data by restoring all of the transaction logs...This means
that you might also be missing some data...
-- Wayne Snyder, MCDBA, SQL Server MVP Computer Education Services Corporation (CESC), Charlotte, NC www.computeredservices.com (Please respond only to the newsgroups.) I support the Professional Association of SQL Server (PASS) and it's community of SQL Server professionals. www.sqlpass.org "Greg M" <gam@rawlingscompany.com> wrote in message news:807C699F-8C0E-475D-82E6-F0B5B236329A@microsoft.com... > This past week, a production change was made in our SQL Server database. This change included updating 3 triggers on 3 different tables. The changes were applied and all changes were tested and verified. The nature of the triggers was altered to send an email in the case of a mass update occurring. Today, I noticed that a mass update had occurred on one of the tables but no email was sent. I examined the trigger to see why it was not working and discovered that one of the old triggers with no email was still in place. This trigger was verified to be in place on the day the change went into production and tested so I am 100% certain that it was there and working. It appears that SQL Server reverted back to the previous version in this case. We have experienced this several times in the past with views and stored procedures as well, but have always attributed it to an improper production change. We are using SQL Server 2000 with service pack 3. Also, searching the SQL Server logs, I found that Master4IDR was systematically restored at 11:00 pm on the night of the change. I am not certain exactly what that is doing or why or if this is part of the issue. I am trying to develop an satisfactory explanation for this occurrence and to hopefully prevent this from occurring again. Any help is greatly appreciated.
- Next message: Wayne Snyder: "Re: Stored procedres"
- Previous message: Greg M: "Triggers reverting"
- In reply to: Greg M: "Triggers reverting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|