ERROR_STATE_UDF
Definition
This user-defined function (UDF) gets the error state regardless of how many times it is run, or where it is run within the scope of the CATCH
block.
Parameters
No input parameters.
Returns
Returns the string
with the error state regardless of how many times it is run, or where it is run within the scope of the CATCH
block.
Usage example
Input:
Output:
Last updated