Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    8

    Unanswered: can u ignore errors in a trigger

    if there is an error in the trigger then the update to the table does not happen. is there a way to make sql ignore errors in a trigger and still update the table

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    I don't think so.

    What kind of errors are you getting?
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    May 2004
    Location
    Seattle
    Posts
    1,313
    you might be able to eat them in 2005 with try/catch. however it seems better to eliminate the root cause of the error, rather than covering it up.

  4. #4
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    DROP TRIGGER <trigger_name>

    But I would fix the trigger
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  5. #5
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    I suppose you could temorarily disable triggers. That seems like a dumb thing to do, but you could... I guess.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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