Question 29


Answer E is correct. Triggers usually perform their work when changes occur within the data. In a replication scenario, you usually don't want those procedures to be performed in both the source and destination locations. To prevent that from occurring, you can set the trigger as NOT FOR REPLICATION so that it will not fire in the destination. This option can also be applied to identity columns and constraints. Disabling or dropping the triggers is likely to remove required functionality at the source.

For more information, see the following sources:

  • Chapter 3, "Implementing Database Objects"

  • SQL Server 2005 Books Online: "SQL Server Replication, Configuring and Maintaining Replication, Implementing Replication, Implementation Considerations for Replication, Considerations for All Types of Replication, Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION"

  • "ALTER TRIGGER," http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_aa-az_9036.asp




MCTS 70-431(c) Implementing and Maintaining Microsoft SQL Server 2005
MCTS 70-431 Exam Cram: Implementing and Maintaining Microsoft SQL Server 2005 Exam
ISBN: 0789735881
EAN: 2147483647
Year: 2006
Pages: 200
Authors: Thomas Moore

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net