abaninas
31st December 2012, 09:33
Dear All,
I'm trying to raise an error when saving on baan iV table as below:
alter TRIGGER [dbo].[Trigger_REC]
ON [baanivdb].[dbo].[ttdilc402206]
after update
--INSTEAD OF INSERT
AS
RAISERROR (N'This is message %s %d.', -- Message text.
1, -- Severity,
1, -- State,
N'number', -- First argument.
5); -- Second argument.
ROLLBACK
go
The problem when try to save, the session hangs and I got the below fatal error:
Error 4609 (bdb_errno 4609)
a not terminated transaction is aborted
I want to raise the error without the session being hangs
Please advice
I'm trying to raise an error when saving on baan iV table as below:
alter TRIGGER [dbo].[Trigger_REC]
ON [baanivdb].[dbo].[ttdilc402206]
after update
--INSTEAD OF INSERT
AS
RAISERROR (N'This is message %s %d.', -- Message text.
1, -- Severity,
1, -- State,
N'number', -- First argument.
5); -- Second argument.
ROLLBACK
go
The problem when try to save, the session hangs and I got the below fatal error:
Error 4609 (bdb_errno 4609)
a not terminated transaction is aborted
I want to raise the error without the session being hangs
Please advice