2224 An exception was raised in the SQL script

Advantage Error Guide

Problem: An exception was raised in the SQL script and it is not handled by any TRY … CATCH … statement in the script.

Solution: This may not be an unexpected error. This error is returned as a result of executing a RAISE statement in the SQL script.