This function returns the message text of the error that caused the CATCH block of a TRY...CATCH construct to execute. When called in a CATCH block, ERROR_MESSAGE ...