SELECTFORMATMESSAGE('This is the %s and this is the %s.', 'first variable', 'second variable') AS RESULT;
Result:
RESULT|
-----------------------------------------------------------+
This is the first variable and this is the second variable.|
Code:
OUT -> SqlServer_01.sql
SELECT--** SSC-FDM-TS0008 - FORMATMESSAGE WAS CONVERTED TO CUSTOM UDF FORMATMESSAGE_UDF AND IT MIGHT HAVE A DIFFERENT BEHAVIOR. **
FORMATMESSAGE_UDF('This is the %s and this is the %s.', ARRAY_CONSTRUCT('first variable', 'second variable')) AS RESULT;
Result:
RESULT |
-----------------------------------------------------------+
This is the first variable and this is the second variable.|
Known Issues
No issues were found.
Related EWIs
No related EWIs.
SSC-FDM-TS0008: FORMATMESSAGE function was converted to UDF.