trigger

  • How can I disable trigger, I dont want that to delete coz I may use it at some point of time. I want the trigger to be on my table but shud not fire at this point of time.

  • Hi, try this to disable

    ALTER TABLE samp_test DISABLE TRIGGER samp_test_update_trigger

    and this to enable

    ALTER TABLE samp_test ENABLE TRIGGER samp_test_update_trigger

    PinAnt

  • if u are using SQL 2005 then

    DISABLE TRIGGER <> ON <>

    ENABLE TRIGGER <> ON <>

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply