Category: Tech Tips & Tricks

MS SQL Server STRING_ESCAPE() Function

Sometimes you may need to create JSON text from variables and escapes any special JSON character in variables in MS SQL Server. There is a...

MS SQL Server STRING_AGG() Function

Sometimes you may need to aggregate cell values of multiple rows in MS SQL Server. There is a function called STRING_AGG in MS SQL Server by...

MS SQL Server STUFF() Function

Sometimes you may need to delete specific characters in one string by inserting another specific length of string in MS SQL Server. There is a...

MS SQL Server TRIM() Function

Sometimes there may be want to remove unwanted space or other character from a string or field in MS SQL Server. There is a function...

MS SQL Server CONCAT_WS() Function

Sometimes you may need to concatenate or join multiple strings with decimetre  in MS SQL Server. There is a function called CONCAT_WS in MS SQL Server...

MS SQL Server CONCAT() Function

Sometimes you may need to concatenate or join multiple strings in MS SQL Server. There is a function called CONCAT in MS SQL Server by which...