SQL Server 2017 introduces a set of useful functions like STRING_AGG(), STRING_SPLIT(), TRIM()… and many more. In this tip, I am going to discuss one of the built-in aggregate functions – “STRING_AGG()”. The function concatenates values from rows as one value with a separator, and the main advantage is it doesn’t add the separator at the […]