Disable Triggers
Before you begin
About this task
INSERT
, UPDATE
, or DELETE
operation occurs on a ProductionDB table. This topic describes how to disable the triggers on CloneDB. This procedure is optional but we recommend that you perform the procedure to avoid any inadvertent changes to the data on CloneDB.Procedure
- Access SQL Server Management Studio (SSMS).
- Create an SQL script for CloneDB using the following code example:
sp_MSforeachtable "ALTER TABLE ? DISABLE TRIGGER ALL"
Note:For more information, refer to the SSMS documentation. - Run the script.The triggers on CloneDB are disabled.