Re: Disabling triggers
From: Vinodk (vinodk_sct_at_NO_SPAM_hotmail.com)
Date: 10/01/04
- Next message: Roji. P. Thomas: "Re: Disabling triggers"
- Previous message: Phil Davy: "Disabling triggers"
- In reply to: Phil Davy: "Disabling triggers"
- Next in thread: Roji. P. Thomas: "Re: Disabling triggers"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 17:08:17 +0530
Use the ALTER TABLE <table Name> DISABLE TRIGGER <trg Name>
-- HTH, Vinod Kumar MCSE, DBA, MCAD, MCSD http://www.extremeexperts.com http://groups.msn.com/SQLBang Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp "Phil Davy" <anonymous@discussions.microsoft.com> wrote in message news:212e01c4a7a9$9eaa5090$a401280a@phx.gbl... > Does anyone know if there is/are a T-SQL command(s) to > temporarily disable a trigger? (a bit like SET ANSI > NULLS OFF/ON) ? > > All I can think of doing is editing the existing trigger > with a "return" statement at the start. > > Or I could drop it, however then I will need to recreate > it. > > So if possible I prefer the solution of temporily > disabling it. > > Can anyone help please? > > Thanks > Phil
- Next message: Roji. P. Thomas: "Re: Disabling triggers"
- Previous message: Phil Davy: "Disabling triggers"
- In reply to: Phil Davy: "Disabling triggers"
- Next in thread: Roji. P. Thomas: "Re: Disabling triggers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|