Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disabling Triggers

0 views
Skip to first unread message

Tracey Lemer

unread,
Apr 22, 2002, 10:51:26 AM4/22/02
to
Is there any way to disable a trigger inside a procedure? Or do I have
to delete it and recreate it? I basically don't want the trigger to fire
while doing updates during a procedure running.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Tom Moreau

unread,
Apr 22, 2002, 8:35:01 PM4/22/02
to
Try:

ALTER TABLE MyTable
DISABLE TRIGGER MyTrigger

You may have some permission issues here.

--
Tom

----------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
SQL Server MVP
Columnist, SQL Server Professional

Toronto, ON Canada
www.pinnaclepublishing.com/sql
www.apress.com
---
Tracey Lemer wrote in message ...

0 new messages