Results 1 to 3 of 3

Thread: Triggers off

  1. #1
    Join Date
    Nov 2002
    Posts
    36

    Triggers off

    Hello,

    I've update triggers on my table, But for some of the transactions, I don't want the triggers to fire. I know in Sybase there are set triggers off. In MS SQL, Is there any similar commands which will set triggers off for particular sql statements.

    Thanks A Lot

    Sejal

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You can use ALTER TABLE command to disable or enable a trigger

    ALTER TABLE table1 DISABLE TRIGGER trigger1

  3. #3
    Join Date
    Nov 2002
    Posts
    84
    use INSTEAD OF trigger

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •