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?
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?
Comment