Results 1 to 2 of 2

Thread: Problem with rollback trigger

  1. #1
    Join Date
    Aug 2003
    Location
    Hungary
    Posts
    3

    Problem with rollback trigger

    Hi, Everybody,

    I'm a Hungarian SQL user and I need a little help for SQL Server 7!

    I protect my table against bad data with a trigger. I use ROLLBACK and RAISERROR statement in this trigger. Users can get my error message after manual input, but the stored procedure always cancel because of ROLLBACK. So the input program dont't have chance to analyze the error message. I could work without ROLLBACK, but it wouldn't be the best solution.

    What's the correct solution with ROLLBACK statement?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932

Posting Permissions

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