FORMATMESSAGE_UDF
Definition
This user-defined function (UDF) provides the functionality of the SQL Server FORMATMESSAGE function. It constructs a message from an existing message from a provided string.
Parameters
MESSAGE
STRING
The existing message string.
ARGS
ARRAY
The arguments to be added on the first message string.
Returns
Returns a string with the corresponding concatenated message related to the argument's positions.
Usage example
Input:
Output:
Last updated