then you need to create the SP TN , because blank error is coming because of that , once you restore the TN ,error will not come.
use the below SP
CREATE PROCEDURE SBO_SP_TransactionNotification
(
in object_type nvarchar(20), -- SBO Object Type
in transaction_type nchar(1), -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
in num_of_cols_in_key int,
in list_of_key_cols_tab_del nvarchar(255),
in list_of_cols_val_tab_del nvarchar(255)
)
LANGUAGE SQLSCRIPT
AS
cnt int;
trip_no int;
error int; -- Result (0 for no error)
error_message nvarchar (200); -- Error string to be displayed
begin
error := 0;
error_message := N'Ok';
--------------------------------------------------------------------------------------------------------------------------------
---Your Code
----------------------------------------------------------------
select :error, :error_message FROM dummy;
end;
--Manish