I need to capture Successful completion or custom error code and message thrown by the stored procedure . These informations are inserted in the tracking table.
I am using Following to generate custom error
Code: Select all
RAISERROR 20020 'Custom message'
Thanks in advance!