In SQL Server, the T-SQLÂ TRANSLATE()
function returns the string provided as a first argument after some characters specified in the second argument are translated into a destination set of characters specified in the third argument.
It’s similar to the REPLACE()
function, but with some important differences.
The TRANSLATE()
function requires 3 arguments; the input string, the characters to be replaced, and the characters to replace them.