I have created an Netezza Stored procedure trying to extract error code which comes when sp fails
BEGIN insert into test values (10,10); insert into not_exis