Which two Transact-SQL statements can you use to achieve this goal?

Your company uses a SQL Server 2005 database. This database contains a trigger named trg_lnsertOrders, which fires when order data is inserted into the Orders table.
The trigger is responsible for ensuring that a cusMikeer exists in the CusMikeers table before data is inserted into the Orders table. You need to configure the trigger to prevent it from firing during the data import process.
You must accomplish this goal while using the least amount of administrative effort. Which two Transact-SQL statements can you use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

Your company uses a SQL Server 2005 database. This database contains a trigger named trg_lnsertOrders, which fires when order data is inserted into the Orders table.
The trigger is responsible for ensuring that a cusMikeer exists in the CusMikeers table before data is inserted into the Orders table. You need to configure the trigger to prevent it from firing during the data import process.
You must accomplish this goal while using the least amount of administrative effort. Which two Transact-SQL statements can you use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A.
ALTER TABLE OrdersDISABLE TRIGGER trg_InsertOrders

B.
DROP TRIGGER trg_InsertOrders

C.
DISABLE TRIGGER trg_InsertOrders ON Orders

D.
ALTER TRIGGER trg_insertOrders ON Orders NOT FOR REPLICATION E.
sp_settriggerorder�triggername= ‘trg_lnsertOrders’, @order=’None’



Leave a Reply 0

Your email address will not be published. Required fields are marked *